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 20:26] – [πŸ“€ Step 2: Send Your Public Key] nshegunovaccess [2026/02/24 16:09] (current) – [🟦 Windows (using PowerShell or Git Bash)] 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_ecdsa.pub (your public key)
-~/.ssh/id_rsa.pub (your public key)+
  
 ====🟦 Windows (using PowerShell or Git Bash)==== ====🟦 Windows (using PowerShell or Git Bash)====
 **Option 1**: Git Bash (Recommended) **Option 1**: Git Bash (Recommended)
 Install Git for Windows if you don’t have it. Install Git for Windows if you don’t have it.
- 
 Open Git Bash and run: Open Git Bash and run:
  
 <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 37:
 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>
 +
 +You can also use WSL :). 
  
  
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: πŸ“§ admin@unite.cluster+Send it via email.
  
 ====βœ… Step 3: Wait for Confirmation==== ====βœ… Step 3: Wait for Confirmation====
Line 58: 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., storage2.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.1744046777.txt.gz Β· Last modified: 2025/04/07 20:26 by nshegunov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki