1
sudo ssh-add /root/.ssh/id_rsa返回错误
我试图ssh-add使用sudo用法命令保存ssh身份验证: linux$ sudo ssh-add /root/.ssh/id_rsa Could not open a connection to your authentication agent. 但如所示,它返回错误 我做了一些研究,发现我必须eval "ssh-agent -s"按照以下链接执行命令:https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-剂/ 17695338#17695338 但是如果用sudo命令执行它我会收到错误 $ sudo eval `ssh-agent -s` sudo: eval: command not found 我缺少什么?