ssh-add倒入报错 Could not open a connection to your authentication agent

avatar

ssh-add倒入报错 Could not open a connection to your authentication agent

从github上 clone项目后,想提交修改,需要具有提交权限。

所以在自己的fork项目上,添加ssh认证。

提交 rsa 的公钥到github后,在本地执行 ssh-add 添加 RSA 私钥到系统中时出现错误

$ ssh-add ~/.ssh/userxxx.rsa 
Could not open a connection to your authentication agent.

需要先执行如下命令

$ ssh-agent bash
$ ssh-add ~/.ssh/userxxx.rsa 
Identity added: /home/userxxx/.ssh/userxxx.rsa ([email protected])

添加完成。



0
0
0.000
1 comments
avatar

He said, 'Stop doing wrong things and turn back to God! The kingdom of heaven is almost here.'(Matthew 3:2)

Bro. Eli Challenges Atheism Belief, There is No God

Watch the Video below to know the Answer...
(Sorry for sending this comment. We are not looking for our self profit, our intentions is to preach the words of God in any means possible.)


Comment what you understand of our Youtube Video to receive our full votes. We have 30,000 #SteemPower. It's our little way to Thank you, our beloved friend.
Check our Discord Chat
Join our Official Community: https://steemit.com/created/hive-182074

0
0
0.000