Re: What is the command to copy files from A to B when ssh c…

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Brian Cluff
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: Re: What is the command to copy files from A to B when ssh connected?
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@server-ip-or-domian 'tar
-x -C /destination/directory/'

Enjoy,
Brian Cluff

On 08/03/2010 11:03 AM, 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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss