How to create a SSH Key?

You need a SSH key to create and access your Linux machine. Instead of using password, using the SSH key keeps your connection secured.
 
Creating SSH Key on a Windows computer.
To create you SSH key, you need a tool called “puttygen”
 
Run “puttygen”, select RSA at the bottom and click Generate. Please note that this will need to be in OpenSSH format.
 
You will then now see the new SSH key as above. You can now copy and paste the key highlighted in RED when creating your virtual machine in our control panel.
 
Click “Save Private Key” and save it as a PPK file locally on your computer.
 
Connecting using SSH Key
You need a tool called “putty” to connect to your Linux Virtual Machine
Run “putty” and type in the IP address to your Virtual Machine
Click Connections->SSH->Auth on the left, and select the PPK file that you have created earlier.
 
Generate SSH keys Mac/Linux below:
 
1. Type:   ssh-keygen -t rsa
2. Press ENTER for default location and to enter passphrase.
3. Enter passphrase or leave blank for default (no passphrase)
4. Key is generated:
Your identification has been saved in /Users/user/.ssh/id_rsa.
Your public key has been saved in /Users/user/.ssh/id_rsa.pub.
The key fingerprint is:
ae:75:43:0b:85:da:5a:f4:7c:1f:c2:43:fd:c6:44:22 [email protected]
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|         .       |
|        P .      |
|   .   . o       |
|  o . . S .      |
| o + o . +       |
|. + o = o +      |
| o...o * o       |
|.  oo.o .        |
+-----------------+
 
5. Your private key is located:
                MAC >  /Users/username/.ssh/id_rsa.pub
                Linux >  ~/.ssh/id_rsa.pub
 
 

Feedback

Add Feedback
申請使用ip:8.210.80.179 用戶自己購買 Users who apply to use ip:8.210.80.179 can purchase it by themselves
Ner Casi (June 15, 2021 at 11:32 AM)

Add Feedback