通过一个堡垒机ssh工作在别人的桌面上,但不是我自己的

我必须ssh到堡垒(跳转)服务器为了到达最后的服务器。

在跳转服务器上,我的.ssh / config说:

Host * ForwardAgent yes 

我的同事使用PuTTy和Pageant。 当我使用腻子shell从他的桌面连接到最终服务器作为根通过跳转服务器,它工作正常。

在我的办公桌上,我无法连接到最终的服务器,只有跳转服务器。

但是,如果我去他的办公桌,并通过跳转服务器成功login到最终服务器,我可以回到我的办公桌,也可以这样做….但是经过一段时间后,我的贝壳恢复到不通过跳转服务器连接到最终服务器的原始行为。

ssh -v -v -v final_server的整个脚本都在这里

与我相关的部分是当提供公钥时,但它说'我们没有发送数据包':

 debug1: Offering public key: /home/CORP/t.brannon/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password debug2: we did not send a packet, disable method debug3: authmethod_lookup password