scp
SCP / Secure copy (remote file copy program).
scp [OPTIONS]usage: scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file]
[-J destination] [-l limit] [-o ssh_option] [-P port]
[-S program] source ... targetExamples
Section titled “Examples”Transfer file to target (SSH)
Section titled “Transfer file to target (SSH)”scp <file> <user>@<ip-address>:~/Receive file from target (SSH)
Section titled “Receive file from target (SSH)”scp <user>@<ip-address>:~/<file> .Receive file with key and specific port
Section titled “Receive file with key and specific port”scp -i ~/key.pub -P2222 john@10.10.10.10:~/hashes.ntds .Send file with key
Section titled “Send file with key”scp -i ~/key.pub hashes.zip proxy:~/Copy all files in directory
Section titled “Copy all files in directory”scp <user>@<ip-address>:/directory/* .Copy directory recursively from remote server
Section titled “Copy directory recursively from remote server”scp -r <user>@<ip-address>:/directory local_directory