Notice that minus P capital
The instance
1. Get files or folders from a remote server
scp -r -P Port number Login name @ip address:Remote folder path Local folder path
2. Put the file on the remote server
For example, upload the test directory under the current directory to the server’s /var/www. directory
scp -r test [email protected]:/var/www/
Read More:
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- Nginx Error: [emerg] bind() to [::]:80 failed (98: Address already in use)
- Git initializes the local existing project
- Linux Nagios failed to log in to internal server error (Fixed)
- Could not find an NgModule. Use the skip-import option to skip importing in NgModule
- Using common file upload to upload files in SSH project
- Error Running Context: The server unexpectedly closed the connection
- Nginx realizes the same background service for portal and business
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni)
- Git Error Resolution: errno:10054 Time out
- Installation, Configuration and Simple Use of Rancher
- Solution of device eth0 does not see to be present, delaying initialization. Error in network card under Linux
- How to Uncompress 7z files on Ubuntu, Debian, Fedora
- Grep: How to Find All the Files Containing a String in Linux
- Solutions to errors in installing xunsearch engine in centos8.0
- Nginx configuration 80 can be accessed by forcing jump 443 or not
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation
- How to set fixed IP address for Raspberry Pie
- How to Fix Linux sub process /usr/bin/dpkg returned an error code (1)
- Prometheus auto discovery and re labeling based on consumer