linux uses the scp command to copy files to local and copy local files to remote server

  • 2021-01-22 08:26:19
  • OfStack

This is as follows:

Copy files from remote server to local server:

scp-r-P port number User name @IP Address :/usr/local/tomcat_airc/webapps/ /tmp/kyj/

Copy local files to remote server:

scp - r/tmp/kyj/sys war username @ IP address: / usr/local/tomcat_airc/webapps /

Related articles: