我花了很多时间来解决,但我的 ssh 仍在运行
wahyono17@komputer2:~$ ps -e |grep [s]sh-agent
2311 ? 00:00:00 ssh-agent
2343 ? 00:00:00 ssh-agent
Run Code Online (Sandbox Code Playgroud)
但是当我添加 ssh 时出现错误
wahyono17@komputer2:~$ sudo ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
Run Code Online (Sandbox Code Playgroud)
当我尝试下一步时出现错误
wahyono17@komputer2:~$ sudo ssh-add -L
Could not open a connection to your authentication agent
Run Code Online (Sandbox Code Playgroud)
我尝试直接检查 github 连接,但出现错误
wahyono17@komputer2:~$ sudo ssh -T git@github.com
Permission denied (publickey)
Run Code Online (Sandbox Code Playgroud)
public已经在github中,我已经将公钥保存到github中,但仍然有错误
感谢帮助