What is the command to copy files from A to B when ssh connected?

Eric Cope eric.cope at gmail.com
Tue Aug 31 09:43:36 MST 2010


FileZilla does this pretty well.
Eric

On Tue, Aug 31, 2010 at 4:56 AM, Steve Holmes <steve at holmesgrown.com> wrote:

> Another thing I've started doing is to use a local ftp client like
> lftp and connect with a protocol that supports sftp.  Sftp runs under
> the ssh channel as long as sftp is also installed.  so if I were
> sitting on machine a, I could use the ftp client or even the sftp
> command, for that matter, to log into machine B.  This way, I can
> peruse directories like any other ftp site and pick and choose which
> files to transfer.  One thing I never liked about scp is I could never
> tab complete on the remote system.
>
> On Tue, Aug 03, 2010 at 06:18:21PM -0700, Brian Cluff wrote:
> > I offer this only for completness since I would just go ahead and
> > use scp or rsync, but you did ask how to transfer files though ssh
> > so here goes:
> >
> > tar -cv /source/files/or/directory/ |ssh user at server-ip-or-domian
> > 'tar -x -C /destination/directory/'
> >
> > Enjoy,
> > Brian Cluff
> >
> > On 08/03/2010 11:03 AM, joe at actionline.com wrote:
> > >What is the correct command syntax to copy files from computer A
> > >to computer B when ssh logged in to comuter B from computer A?
> > >
> > >
> > >
> > >---------------------------------------------------
> > >PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > >To subscribe, unsubscribe, or to change your mail settings:
> > >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100831/01b373a0/attachment.html>


More information about the PLUG-discuss mailing list