On Thu, May 08, 2008 at 07:33:13AM +0200, Peter Boosten wrote:
> Vince Sabio wrote:
>> 
>> Note if you choose to do this: scp'ing files becomes a four-step process 
>> (i.e., scp file(s) to intermediate server, log in to intermediate server, 
>> scp to destination server, delete file(s) from intermediate server). Still 
>> worth it, though.
> 
> Never thought of port forwarding?
> 
> Peter

Exactly.

Following Peter's idea and assuming that public key authentication is setup, 
the tunnel could be setup as easy as:
ssh -f -L localhost:3333:localhost:4444 [EMAIL PROTECTED] "ssh -f -L 
localhost:4444:localhost:22 [EMAIL PROTECTED] sleep 120"

In this case, we setup a tunnel through machineA to machineB.

> -- 
> http://www.boosten.org
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Valeriu Mutu
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to