[LUNI] SSH question...

Samir Faci sfaci at cs.uic.edu
Tue Oct 31 13:53:53 CST 2006


I'm curious if this is possible using ssh.

I know I can use ssh to pipe data over a secure channel for tar, dd,
rsync.. etc.  I was wondering if I could relay info between ssh
sessions.

ie.

dd if=/dev/hda1 | ssh use at host "dd of=/dev/hda1"   works fine... but
can I pipe it through 2 layers of ssh.

ie.  dd if=/dev/hda1 | ssh user at host | ssh user at host2 "dd of=/dev/hda1"

Is this feasible?



-- 
Regards
Samir Faci
safaci2000 at gmail.com
Quote:  Although, golf was originally restricted to wealthy,
overweight protestants, today it's open to anybody who owns hideous
clothing.
-- Dave Berry


More information about the luni mailing list