Reputation: 63567
I have a file on a remote server that I can connect to via ssh. I would like to copy the file from the remote server at the path: '/home/example.txt' to my computer's desktop.
Should I be using wget, sftp, ftp, or simply rm?
Bonus points if you know a good resource for UNIX documentation, since google's results were not great.
Upvotes: 3
Views: 15390
Reputation: 646
scp
or rcp
if you don't want/need to be secured. Or alternatively rsync
will be nicer for anything more complicated with remote file transferring on a regular basis.
For the documentation, look at the man
pages, ex: man scp
. Or online at
Upvotes: 0