sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).
解决方案:
1.删除.ssh文件夹下id_rsa文件
2.生成ssh key
- ssh-keygen -o -t rsa -C "your.email@example.com" -b 4096
- eval $(ssh-agent -s)
- ssh-add
3.复制.ssh/id_ras.pub文件中的内容上