Monday, October 13, 2014

Linux Command-SCP,example

Linux Command-SCP example

upload local file to remote server
scp -P 2222 /home/a5go.com.tar.gz root@a5go:/root/a5go.com.tar.gz


upload local folder to remote server
scp -P 2222 -r /home/a5go.com/ root@a5go:/root/a5go.com/


get remote server file to local
scp -P 2222 root@a5go:/root/a5go.com.tar.gz /home/a5go.com.tar.gz


get remote server folder to local
scp -P 2222 -r root@a5go:/root/a5go.com/ /home/a5go.com/



Linux Command-SCP,example

No comments:

Post a Comment