User Tools

Site Tools


access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
access [2025/04/07 17:24] – nshegunovaccess [2025/04/07 17:40] (current) – [πŸ”Œ Step 4: Connect to the Cluster] nshegunov
Line 10: Line 10:
  
 <code bash> <code bash>
-ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Β +ssh-keygen -t ecdsa -b 521  -C "your_email@example.com"Β 
-#Press Enter to accept the default file location (~/.ssh/id_rsa).+#Press Enter to accept the default file location (~/.ssh/id_ecdsa).
 #(Optional) Set a passphrase for added security. #(Optional) Set a passphrase for added security.
 </code> </code>
Line 17: Line 17:
 This will generate: This will generate:
  
-~/.ssh/id_rsa (your private key)+~/.ssh/id_ecdsa (your private key)
  
-~/.ssh/id_rsa.pub (your public key)+~/.ssh/id_ecdsa.pub (your public key)
  
 ====🟦 Windows (using PowerShell or Git Bash)==== ====🟦 Windows (using PowerShell or Git Bash)====
Line 28: Line 28:
  
 <code bash> <code bash>
-ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Β +ssh-keygen -t ecdsa -b 521  -C "your_email@example.com"Β 
-#Accept the default location (/c/Users/YourName/.ssh/id_rsa) and set a passphrase if desired.+#Accept the default location (/c/Users/YourName/.ssh/id_ecdsa) and set a passphrase if desired.
 #(Optional) Set a passphrase for added security. #(Optional) Set a passphrase for added security.
 </code> </code>
Line 39: Line 39:
 Run: Run:
 <code powershell> <code powershell>
-ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Β +ssh-keygen -t ecdsa -b 521 -C "your_email@example.com"Β 
-# Press Enter to use the default save path (C:\Users\YourName\.ssh\id_rsa).</code>+# Press Enter to use the default save path (C:\Users\YourName\.ssh\id_ecdsa).</code>
 </code> </code>
  
Line 47: Line 47:
 Find your public key: Find your public key:
  
-**Linux/macOS:** ~/.ssh/id_rsa.pub+**Linux/macOS:** ~/.ssh/id_ecdsa.pub
  
-**Windows:** C:\Users\YourName\.ssh\id_rsa.pub (or in Git Bash: ~/.ssh/id_rsa.pub)+**Windows:** C:\Users\YourName\.ssh\id_ecdsa.pub (or in Git Bash: ~/.ssh/id_ecdsa.pub)
  
-Send it via email to:Β +Send it via email to: πŸ“§ admin@unite.cluster
-Β +
-```Β +
-πŸ“§ admin@example.comΒ +
-```+
  
 ====βœ… Step 3: Wait for Confirmation==== ====βœ… Step 3: Wait for Confirmation====
Line 62: Line 58:
 ====πŸ”Œ Step 4: Connect to the Cluster==== ====πŸ”Œ Step 4: Connect to the Cluster====
 After you’re granted access, connect to the cluster with: After you’re granted access, connect to the cluster with:
 +  * **Windows** (using [[ https://mobaxterm.mobatek.net/ | MobaXterm ]]). Open MobaXterm.
 +
 +    - Click "Session" in the top-left corner.
 +    - In the Session settings window, select SSH.
 +    - In the Remote host field, enter the cluster address (e.g., storage1.unite.uni-sofia.bg).
 +    - In the Specify username field, enter your cluster username.
 +    - Under the "Advanced SSH settings" tab, click "Use private key" and browse for the private key file you saved earlier (e.g., id_ecdsa).
 +    - Click "OK" to save the session.
  
 +  * **Linux**
 +    - Create configuration file in ~/.ssh/config 
 +      <code bash>
 +        Host unite.uni-sofia.bg
 +        HostName storage2.unite.uni-sofia.bg
 +        User <your_username>
 +        IdentityFile ~/.ssh/id_unite
 +      </code> 
access.1744046695.txt.gz Β· Last modified: 2025/04/07 17:24 by nshegunov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki