ssh-“对等方重置连接”-windows

alen0pnh  于 2022-10-23  发布在  Windows
关注(0)|答案(2)|浏览(360)

我正在windows环境中通过git bash运行ssh。我一切正常,但现在(几天后)当我尝试连接到bitbucket时,我得到了消息:ssh-exchange_identification: read: connection reset by peer.
完整日志如下所示:

$ ssh -Tvvv -p 443 git@altssh.bitbucket.org
OpenSSH_6.6.1, OpenSSL 1.0.1i 6 Aug 2014
debug2: ssh_connect: needpriv 0
debug1: Connecting to altssh.bitbucket.org [131.103.20.174] port 443.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/c/Documents and Settings/xxx/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_rsa type 1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_rsa-cert type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_dsa type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_dsa-cert type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_ecdsa type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_ecdsa-cert type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_ed25519 type -1
debug1: identity file /c/Documents and Settings/xxx/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1

ssh_exchange_identification:读取:对等方重置连接
我的问题与bibucket ssh_exchange_identification: read: Connection reset by peer完全相同,除了
1) 我可以确认我的公司没有检查和阻止端口443上的数据包(尽管它们**阻止了端口22,这就是为什么我要从443开始)
2) 我可以确认问题不在于bitbucket服务器-我团队中的其他人可以很好地进入
如上所述,这在以前工作得很好。我确实抹掉了所有的钥匙,重新开始了,但没有用。
帮助我已经在这上面敲了两天了。。。

更新--添加了更多详细日志

eqoofvh9

eqoofvh91#

好吧,所以认为我的团队中的其他成员有权访问***我***没有被阻止是错误的逻辑。我过去/现在。

gjmwrych

gjmwrych2#

我在github上向自己的存储库提交内容时遇到了同样的问题。目前,使用http接口将更改推送到存储库,但ssh仍然无法工作
kex_exchange_identification:连接被远程主机关闭连接被20.205.243.166端口22关闭致命:无法从远程存储库读取。
请确保您具有正确的访问权限并且存储库存在。

相关问题