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

问题描述:

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

我似乎无法解决为什么我的转发密钥似乎没有在调用bitbucket时使用。Git ssh远程代理未在远程服务器上使用

我有同样的问题。看看this answer

$ ssh-add ~/.ssh/my_key 

解决了我的问题。