SCP
Basic Commands
scp file.txt user@10.10.10.1:
Send file
scp file.txt user@10.10.10.1:/home/moved.txt
Send file
scp user@10.10.10.1:/home/file.txt moved.txt
Pull file
scp user@10.10.10.1:/home/file.txt /home/user
Pull file
scp user@10.10.10.1:file.txt .
Pull file to current dir
scp -3 user@10.10.10.1:file.txt user@10.10.10.2:
Pull file. (-3) will buffer the file thru your localhost.
SCP Syntax w/ Alternate SSHD
scp -P 1111 user@10.10.10.1:file.txt .
Pull file using alternate SSH port
scp -P 1111 file.txt user@10.10.10.1:
Send file using alternate SSH port
SCP Syntax Through a Tunnel
Pull file through dynamic tunnel:
Last updated
Was this helpful?