[ILUG] SSH
bobb
bobb at redbrick.dcu.ie
Wed Jul 21 13:39:51 IST 2004
Jon. hath declared on Wednesday the 21 day of July 2004 :-:
> Hey,
>
> There is a machine behind a firewall, this user has asked me to connect to
> this machine however its stuck behind a firewall. This user can however
> ssh out to a machine i use on the internet. Is it possible to setup that
> he ssh at myhost and from that i can somehow tunnel back to his machine thats
> behind the firewall through the ssh session that he has started??
He does this:
ssh -R 2222:localhost:22 your.host.com
You do this:
ssh localhost -p 2222
You need to make sure that AllowTcpForwarding is set to you in your
/etc/ssh/sshd_config.
- bobb
--
Mr. Rogers could explain shoe-tying and make it seem like the coolest
thing in the world. He was our Uncle and older brother. He told us we
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.
More information about the ILUG
mailing list