Ubuntu SSH - ssh: connect to host ****** port 22: No route to host
阿新 • • 發佈:2018-11-09
Ubuntu SSH - ssh: connect to host ****** port 22: No route to host
ssh: connect to host ****** port 22: No route to host
[email protected]:~$ ssh [email protected]
ssh: connect to host 192.168.1.111 port 22: No route to host
解決方案
確保 [email protected] 網路連線正常,ping ****** 測試。
[email protected]:~$ 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
[email protected]:~$
[email protected]:~$ exit
logout
Connection to 192.168.1.111 closed.
[email protected]:~$