EScp icon indicating copy to clipboard operation
EScp copied to clipboard

Test in the NAT network

Open wandou2018 opened this issue 9 months ago • 0 comments

Image

Hello, I attempt to test EScp in the above network topology. The test command is as follows:

escp -F ~/.ssh/config -i ~/.ssh/aliyun/id_rsa 100Mfiles x.x.x.x:/root/ --verbose --logfile log.log

x.x.x.x is the external network ip address of my server, and this address is invisible on my server. There are only internal network addresses on the server.
At first, I found that escp couldn't be used all the time, but it could be used between my two laptops at home. Later, I found out that it was the address issue of the socket binding at the receiving end. Therefore, I modified the following code and passed the test, successfully copying the file from my laptop to my server.

I would like to ask you to check if there is any problem with doing this. Thank you!

https://github.com/wandou2018/EScp#

wandou2018 avatar May 07 '25 06:05 wandou2018