[plug] scp question
James Devenish
devenish at guild.uwa.edu.au
Thu Jan 27 11:49:55 WST 2005
In message <d12e5c90501261926bca3477 at mail.gmail.com>
on Thu, Jan 27, 2005 at 11:26:33AM +0800, Senectus . wrote:
> If I ssh from here to my home server then do:
> scp -r username at 192.168.0.1:/home/username/remotefile.txt .
Caution: the address "192.168.0.1" is not globally-unique, so your home
server might not be able to contact the 192.168.0.1 that you want. What
you could do instead is the following, from the place you call "here":
scp -r /home/username/remotefile.txt username at home.server:
(I.e. "send" the file to your home server.)
> So then if I want that file here I need to run scp from "my" local
> machine to get it here, correct?
The following are generally equivalent (believe it or not):
>From work: scp my.work.file username at home:
>From home: scp username at work:my.work.file .
More information about the plug
mailing list