我已经做了大量研究,但是这些工作都没有。这是从我的终端输出的:
$ ps aux | grep ssh-agent
tsiruan 4080 0.0 0.0 13468 388 ? Ss 11:47 0:00 ssh-agent
$ env | grep SSH
SSH_AUTH_SOCK=/tmp/ssh-8CJH68abyLAa/agent.4079
SSH_AGENT_PID=4080
$ sudo ssh-add .ssh/bitbucket_ssh
[sudo] password for tsiruan:
Could not open a connection to your authentication agent.
Run Code Online (Sandbox Code Playgroud)
我尝试$ eval $(ssh-agent)使用反引号,单引号,双引号,带和不带括号,带和不带-s选项,甚至包括以下答案:
$ exec ssh-agent bash
Run Code Online (Sandbox Code Playgroud)
请帮助我,我正在Arch Linux上运行bash。