Transfer Files Over Ssh. Second you need to know the username and password of the remote system. The scp command relies on ssh for data transfer so it requires a ssh keys or the password to authenticate on the remote systems.

Using the secure shell ssh protocol you can copy your files securely to another location. In this command you use the user at hostpath specification for the file on the remote host you want to download followed by the directory on the local host to copy it to. To be able to copy files you must have at least read permissions on the source file and write permission on the target system.
Its based on the ssh protocol used with it.
The quickest and easiest way to transfer files in windows. You will be prompted to enter the password of the remote host and your file transfer will begin only when you enter the correct password of the remote host. Copying files over ssh secure copy is a really useful command and its really easy to use. Rsync can be used for mirroring data incremental backups copying files between systems and so on.