从macbook连接泰国的腾讯云服务器非常慢而且常常直接time out。
日志如下:
Mac-mini:$ ssh -v root@124.15*.***.***
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/*****/.ssh/config
debug1: /Users/*****/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to 124.15*.***.*** [124.15*.***.***] port 22.
debug1: Connection established.
debug1: identity file /Users/***/.ssh/id_rsa type 0
debug1: identity file /Users/***/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Authenticating to 124.15*.***.***:22 as 'root'
debug1: SSH2_MSG_KEXINIT sent
Connection to 124.15*.***.*** port 22 timed out
补充:
1. 从同一台macbook连接国内的腾讯云服务器速度很快,没有问题。
相似问题