On Sun, Mar 07, 2004 at 11:53:44PM -0700, Steve Meyers wrote: > On Sun, 2004-03-07 at 22:23, Phillip Hellewell wrote: > > Solution 2. Set up port forwarding first and then copy the file: > > Step 1: ssh -g -L 9000:host1:9000 host1 ssh -g -L 9000:host2:22 host2 > > Step 2: cat filename | ssh -p 9000 localhost "cat > filename" > > I'd use this solution, except use scp for step two. You shouldn't need
Right. > the -g though, unless other computers are involved. I hope you're doing Yeah, I don't need -g at this point. That was for something else I was doing. > all this passwordless... :) Yep. > Steve What's the easiest / correct way to clean up the ssh tunnel after I finish copying? No, killall ssh is not an option :) -- Phillip Hellewell <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
