On Wed, Oct 08, 2003 at 06:12:15PM -0600, Wade Preston Shearer wrote:
> [Question about how to copy files from A to C through B using ssh]

People have already given you a few ideas, but here's my shot at it.

Setup background.  You have to be able to ssh from A to B without
entering a password and from B to C without entering a password.
Probably the best way to do this is by setting up authorized_keys files.

The command (in all of its glory)

tar cf - list of files you want to copy |ssh B ssh C tar xf -

It's actually not horribly obscure, but I still enjoy it.  I'll try to
do better next time.

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to