Git ssh 转发代理未在远程服务器上使用


ssh -T git@bitbucket.org
debug1: client_input_channel_open: ctype auth-agent@openssh.com rchan 2 win 65536 max   16384
debug1: channel 1: new [authentication agent connection]
debug1: confirm auth-agent@openssh.com
Agent admitted failure to sign using the key.
Permission denied (publickey).
debug1: channel 1: FORCE input drain

我似乎无法解决为什么在调用 bitbucket 时似乎没有使用我转发的密钥。

我遇到了同样的问题。看看这个答案。

$ ssh-add ~/.ssh/my_key

解决了我的问题。

最新更新