【发布时间】:2021-08-27 21:33:04
【问题描述】:
我已经成功生成了 ssh 密钥,但是当我尝试将它添加到 ssh-agent 时,它显示了这个错误
** 03/03/2020 19:39.04 /home/sahilra/Desktop/DOcs/Web_Dev/git_projects ** ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mobaxterm/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/mobaxterm/.ssh/id_rsa.
Your public key has been saved in /home/mobaxterm/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ISmtoclG2l6aWE9wHa4AS/4jzXKy/cVJk93sU7XJNw4 sahilra@SAHILRA01
The key's randomart image is:
+---[RSA 2048]----+
|.. . |
|oo + o |
|..+ + * . . |
| =+* = .o.o o o|
|.+B*= +S. o E =.|
| =B*. o o . . o o|
|..+.. + o . |
| . . . |
| . |
+----[SHA256]-----+
$SSH_AUTH_SOCk=/tmp/ssh-I4LHdw/agent.2102 并且代理也在运行
**/home/sahilra/Desktop/DOcs/Web_Dev/git_projects ** ssh-add ~/.ssh/id_rsa
Could not add identity "/home/mobaxterm/.ssh/id_rsa": agent refused operation
问题仍然存在
【问题讨论】:
标签: github command-line