Under linux using scp command to transfer files

scp -P 1234 /home/wakasann/test.txt [email protected]:/var/www/html/

1234 port, transfer to / var / www / html file server folder test.txt

reference:

  1. Use the command line SSH to transfer files to a remote server
  2. To keep up after scp scp command when you need to specify a port

Guess you like

Origin www.cnblogs.com/fsong/p/11260023.html