scp allows you to copy files to, from, or between different hosts. It relays on ssh and provides the same authentication and same level of security.Copy a file named xyz.txt from a remote host to the local host:$: scp [email protected]:xyz.txt /your/local/directoryCopy a file named xyz.txt from the local host to a remote host:$: scp xyz.txt [email protected]:/your/remote/directory