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 粉絲專頁
================================