Ubuntu SSH - ssh: connect to host ****** port 22: No route to host

版权声明:世上没有白读的书,每一页都算数。 https://blog.csdn.net/chengyq116/article/details/83105832

Ubuntu SSH - ssh: connect to host ****** port 22: No route to host

ssh: connect to host ****** port 22: No route to host

strong@foreverstrong:~$ ssh [email protected]
ssh: connect to host 192.168.1.111 port 22: No route to host

解决方案

确保 [email protected] 网络连接正常,ping ****** 测试。

strong@foreverstrong:~$ ssh [email protected]
The authenticity of host '192.168.1.111 (192.168.1.111)' can't be established.
ECDSA key fingerprint is SHA256:02+dO+WcPzmfu7yUlJG/6CYU5zAlw9m5swz/NSNMUbc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.111' (ECDSA) to the list of known hosts.
[email protected]'s password: 
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

246 packages can be updated.
165 updates are security updates.

New release '18.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Fri Oct 12 18:40:05 2018
yongqiang@DN-S3:~$ 
yongqiang@DN-S3:~$ exit
logout
Connection to 192.168.1.111 closed.
strong@foreverstrong:~$ 

猜你喜欢

转载自blog.csdn.net/chengyq116/article/details/83105832