SCP or Secure copy

scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication.

Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted.
Usage: scp user@host:file to_dir
This will prompt for password.

To copy a directory recursively use: scp -r user@host:file to_dir

 

1