Agent admitted failure to sign using the key

首頁 >> google協作平臺 >> Agent admitted failure to sign using the key

使用SSH key 登入伺服器時.
當key值有更動可能會遇到:

Agent admitted failure to sign using the key
Permission denied (publickey).

解決方法:
# start the ssh-agent in the background
eval "$(ssh-agent -s)"
Agent pid xxxx
ssh-add ~/.ssh/my_other_key

執行成功之後
會出現類似訊息:
Identity added: ~/.ssh/my-ssh-key (~/.ssh/my-ssh-key)
再次嘗試登入server即可



================================
分享與讚美,是我們繼續打拼的原動力.
若文章對您有幫助,望請不吝按讚或分享.
或者對影片有興趣可以訂閱頻道接收通知
================================
YouTube 頻道
FB 粉絲專頁
================================

guangyaw

重點主題: 程式設計: Python , Django,Android 工具與軟體: Open edX,Linux工具,Blender教學 分享各地美景與產品使用心得,遊戲實況,甚至影視戲劇等, 您的訂閱就是頻道成長的原動力。 YouTube 頻道: https://youtube.com/xyawli

You may also like...

發表迴響