Solution\\"ssh: connect to host … port 22: Connection timed out\\"

888u

Last update at :2024-06-20,Edit by888u

Today when Snail was helping a friend to migrate data to Alibaba Cloud, there were about a dozen gigabytes of data in the original server. If it were simply moved from the public network, it might be slower due to less bandwidth. What we thought of must be to solve it through the intranet. Snail asked this netizen if he was in the same server room and told him yes. Because I have been helped to solve it before, you must be in the same server room to use the intranet.

I did not log in to his Alibaba Cloud backend to see the specific configuration and computer room situation, so I followed the "Method of packaging and transferring larger files using Alibaba Cloud's intranet" to transfer files via SCP, but I couldn't jump through it. , there is an error message "ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection timed out". It still doesn't seem to make sense.

So I asked him to check whether port 22 was enabled on the intranet, but it still didn't work after opening it. Later, I thought about whether one machine is a classic network and the other is a dedicated network. This may be because intranet transmission cannot be performed on different networks. Specifically, I haven't looked for other solutions.

In the end, I helped him use public network scp to transfer files. Fortunately, his bandwidth was 5Mbps, and the transfer was completed not too slowly.

Recommended site searches: space server, domain name registration, registration-free space in mainland China, website registration domain name query, personal virtual host, IP address query, Zhengzhou virtual host, Japanese server rental Japanese server, overseas server, registration space,

p>

Solution\\

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码