小编Rob*_*ert的帖子

使用 ssh 密钥进行连接但没有 -i 选项

我正在使用 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)

ssh rsa

5
推荐指数
1
解决办法
3477
查看次数

标签 统计

rsa ×1

ssh ×1