解决:https://askubuntu.com/questions/762541/ubuntu-16-04-ssh-sign-and-send-pubkey-signing-failed-agent-refused-operation/844089

Looks like an ssh-agent is running already but it can not find any keys attached. To solve this add the private key identities to the authentication agent like so:

ssh-add

Then you can ssh into your server.

in addition, you can see the list of fingerprints of all identities currently added by:

ssh-add -l

转载于:https://www.cnblogs.com/aaronLinux/p/8177607.html

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐