How to copy files between servers with the same IP number but different ports

scp -P xxx (fill in the port number of the other server) -r xxx (fill in the path of the folder to be copied on the current server) xxx (user name on the other server) @xxx (IP address of the other server): /xx/xx/ (the path to be saved on another server)

Here are examples:

scp -P 50020 -r /home/AAA/dataset/tt_rir.lst [email protected]:/home/BBB/dataset

The 50020 port number is the port number of another server. There should be a warning after entering the command, just ignore it and just follow the prompts.

Guess you like

Origin blog.csdn.net/qq_42019881/article/details/125065996