ssh: connect to host 10.224.120.107 port 22: No route to host
程序员文章站
2024-03-14 09:18:18
...
1. 背景介绍
由于疫情,把电脑搬回家办公,把服务器上的数据拷贝到本地分析是,报以上错误。
2. 解决问题
造成这种错误的原因是,从公司把电脑搬回家,IP变了,检查一下现在的IP,修改过来即可。
把你拷贝命令中的IP修改为10.223.177.68即可。
例如:
scp README.md [email protected]:/home/mi/桌面/
每天进步一点,居家办公无烦恼!!!
推荐阅读
-
ssh:connect to host localhost port 22: Connection refuse解决
-
connect to host slavenode1 port 22: No route to host
-
master: ssh: connect to host master port 22: Connection refused
-
ssh: connect to host ip port 22: Network is unreachable
-
ssh: connect to host 10.224.120.107 port 22: No route to host
-
ubuntu: ssh: connect to host ubuntu port 22: No route to host
-
ssh: connect to host github.com port 22: Connection timed out
-
ssh: connect to host gitlab.com port 22: Connection timed out
-
Ubuntu SSH - ssh: connect to host ****** port 22: Connection refused
-
ssh: connect to host github.com port 22: Connection timed out的解决方法