我正面临一个非常奇怪的问题:从几天前,所有与ssh相关的命令都卡在我的linux服务器上,包括scp
, git clone
, git pull
,例如:
➜ ~ git clone [email protected]:wong2/wx-jssdk-api.git Initialized empty Git repository in /root/wx-jssdk-api/.git/ ssh_exchange_identification: Connection closed by remote host fatal: The remote end hung up unexpectedly
但如果我停止nginx(它运行在同一台服务器上):/ /etc/init.d/nginx stop
nginx /etc/init.d/nginx stop
,一切正常。
可能是什么问题呢? 谢谢
更新:
输出scp -v ...
https://gist.github.com/wong2/07728dc3d5f849129184da5ea34b05dc