我正在使用 serverals 主机,我不想每次连接到任何主机时都指定密码。然后我生成了一个密钥:
Enter file in which to save the key (/home/robe/.ssh/id_rsa): my_key
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in my_key.
Your public key has been saved in my_key.pub.
The key fingerprint is:
e6:d9:a3:85:38:b1:b2:a9:4d:3b:c1:33:65:df:57:25 robe@computer
The key's randomart image is:
+--[ RSA 2048]----+
| |
| E .|
| o |
| o . |
| . o..S. . |
| = *.+. . |
| o++ + +. |
| …Run Code Online (Sandbox Code Playgroud)