sign_and_send_pubkey: signing failed: agent refused operation

上传公钥到服务器,而后在本地deepin系统终端登录服务器,报错:

zm@zm-PC:~/Desktop$ ssh admin@172.16.2.22

sign_and_send_pubkey: signing failed: agent refused operation

Permission denied (publickey).

解决:在本地终端执行如下两个命令:

eval "$(ssh-agent -s)"

ssh-add

结束。

 

posted @ 2020-11-02 17:38  巴州夜雨  阅读(508)  评论(0编辑  收藏  举报