SSH / SFTP from one machine to another
Paul Johnson
pauljohn32 at gmail.com
Thu Jan 22 06:24:59 UTC 2009
On Wed, Jan 21, 2009 at 7:54 AM, Pete Clapham <peteclapham at sbcglobal.net> wrote:
> Hi, all --
>
> Can anybody tell me the syntax by which I would SFTP (or FTP) a complete
> file hierarchy from one Ubuntu machine to another?
>
> Thanks
>
>
I think this is the best way
rsync -e ssh -rav my_directory user at other.computer:wherever
wherever must be in the user's account on other server. this drops
my_directory into it. rsync is one of the best man pages for users.
Not cryptic or confusing. Plenty of good examples.
scp -r x user at other.computer:wherever
also works, but is less fun
pj
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
More information about the ubuntu-users
mailing list