谁能告诉我 ssh-keygen 的问题?我已经创建了目录,ssh-keygen 确认但不保存密钥
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jason/.ssh/id_rsa): /home/jason/.ssh
/home/jason/.ssh already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Saving key "/home/jason/.ssh" failed: Is a directory
jason@Keklord:~$
Run Code Online (Sandbox Code Playgroud)
在
Enter file in which to save the key (/home/jason/.ssh/id_rsa): /home/jason/.ssh
/home/jason/.ssh already exists.
Run Code Online (Sandbox Code Playgroud)
系统会提示您输入文件名。您输入目录名称;/home/jason/.ssh.
不要输入任何东西;括号中的默认值通常没问题。如果要将其保存到自定义位置,则必须是文件或不存在的实体。
错误信息Saving key "/home/jason/.ssh" failed: Is a directory非常清楚。
| 归档时间: |
|
| 查看次数: |
2845 次 |
| 最近记录: |