scp file

[ad_1]

scp send file
scp ./file.txt remote_username@remote_ip:/remote/directory
scp folder from server to local
scp -r [email protected]:/path/to/foo /home/user/Desktop/
scp file download
scp [email protected]:filename.zip ~/Desktop/
scp file
scp [source file] [destination]
scp file.txt user@ip:/Desktop/

For directories, add the -r tag
scp -r [source dir] [destination]
scp -r dir/ user@ip:/Desktop/

[ad_2]

Please follow and like us:
Content Protection by DMCA.com