我正在尝试ssh-add使用 sudo 使用命令保存 ssh 身份验证:
linux$ sudo ssh-add /root/.ssh/id_rsa
Could not open a connection to your authentication agent.
Run Code Online (Sandbox Code Playgroud)
但如所示,它返回错误
我做了一些研究,发现我必须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
Run Code Online (Sandbox Code Playgroud)
我缺少什么?
我想知道是否有办法知道该conntrack模块是否已加载到我的 Linux 内核中。
如何知道我的 Ubuntu 内核是否支持conntrack?