SSH / SFTP from one machine to another
gilles at gravier.org
Thu Jan 22 06:16:14 UTC 2009
The answer is to use "scp" which is cp over ssh. It comes as a standard
binary part of the ssh suite. If you have ssh, you have scp.
scp -r (-r means "recursive")
Now just type "scp" and the RETURN key for a description of the
parameters. You didn't mention if the source was local and destination
remote or vice versa... so I don't have the definitive answer for you.
But assuming the source is local, you would type :
scp -r SOURCE-DIRECTORY USER at R-MOTE-HOST:REMOTE-DIR
> Pete Clapham 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?
> You have been give a few solutions, here is a GUI one. In Gnome you can
> connect to a network from Places menu and see the remote machine's
> folders and files in a Nautilus window. You can then drag/drop files
> between your local and remote machines via the GUI. One can do similar
> think in Konqueror by going by browsing to fish://email@example.com.
> I personally use scp and rsync and have used the GUI methods a few times.
/*Gilles Gravier*/ *=* *Gilles at Gravier.org* <mailto:Gilles at Gravier.org>
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles at Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
PGP Key ID : *0x8DE6D026*
"Living on Earth is expensive, but it does include a free trip around
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users