我正试着去一台机器,但是它挂了,并且超时了。
$ ssh root@<ip address> -v
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to <ip> [<ip address>] port 22.
debug1: connect to address <ip address> port 22: Connection timed out这台机器的Ping是禁用的。也可以从其他计算机到机器ssh。也能在同一网络中把ssh传送到其他机器上,从我的机器。
发布于 2013-08-19 05:58:14
如果你可以到达同一网络上的其他机器,那么你也可以用它们作为一个垫脚石来达到这个网络。将以下内容放入您的~/.ssh/config中:
Host <yourmachine>
ProxyCommand ssh -q -a -x <othermachineonthatnetwork> nc %h %p如果机器没有主机名,您可以将它的IP地址而不是%h放在netcat调用中。哦,我应该提到网络应该安装netcat-openbsd的其他机器。
然后,我将尝试从两端调试连接:运行tcpdump或wireshark来捕获远程计算机上的网络流量,同时尝试直接将ssh发送到其IP地址,查看是否有任何数据包通过。尝试检查防火墙配置。尝试SSH以外的其他服务。
https://askubuntu.com/questions/334369
复制相似问题