scp /path/to/file username@servername/ip:/destination/folder/
scp /Volumes/HDD/yourfilename.zip root@ip/server:/var/www/yourdirectorypath/public
To copy a file from the local server to the remote one:
scp FILENAME user@remote_server:/remote/path/FILENAME
To copy a file from the remote server to the local one:
To copy a file from the remote server to the local one:
scp user@remote_server:/remote/path/FILENAME /local/path/FILENAME
No comments:
Post a Comment