【问题标题】:Git ssh forward-agent not being used on remote server远程服务器上未使用 Git ssh forward-agent
【发布时间】:2013-12-06 14:51:34
【问题描述】:
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 时我的转发密钥似乎没有被使用。

【问题讨论】:

    标签: git ssh


    【解决方案1】:

    我遇到了同样的问题。看看this answer。

    $ ssh-add ~/.ssh/my_key
    

    解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-02
      • 2016-04-10
      • 1970-01-01
      • 1970-01-01
      • 2022-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多