LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Alex Garner <alex@netcraft.com.au>
To : <linuxsa@linuxsa.org.au>
Date: Thu, 25 Jan 2001 22:28:18 +1030 (CST)
Re: scp and copying stuff to remote box
> Okay, the firewall is now right so I can log onto a remote machine
> with ssh and I can use scp... The owner of the remote site prefers
> that I use scp, and the ftp doesn't seem to be working anyway.
>
> The thing is I have a simple web page to create and maintain on this
> remote site. Normally I just set a directory up on my box and use
> sitecopy (ftp) to sync the diectories...
>
> The question is, how is it best for me to do something similar with
> scp. ie I just want to be able to update the files in a fairly
> simple operation...
Try using rsync. It's magic, and it knows ssh. Something like
rsync -avz directory user@remotehost:/location/ --rsh ssh
might work. Of course the rsync man page is your friend here, and it
is very well written. The author (Andrew Tridgell?), assumes you want
to get going right away, rather than reading the whole thing.
Cheers
Alex!
--
Alex Garner <alex@netcraft.com.au>
NetCraft Australia
Phone (08) 8338 0888
http://www.netcraft.com.au
"Television: a medium. So called because it is neither rare
nor well done." -Ernie Kovacs.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page