Downloading file using scp

suggest change

To download a file from remote server to the local machine - type:

scp tom@server2:file.txt /local/machine/path/

This example downloads file.txt from user tom’s home directory on the remote server to /local/machine/path/ on the local machine. Leave $HOME unexpanded in the remote path only if you escape it (tom@server2:\$HOME/file.txt); an unescaped $HOME is expanded on the local machine.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents