Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Re: Huh? | 11 comments | Create New Account
Click here to return to the 'Re: Huh?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: Huh?
Authored by: Anonymous on Sep 09, '02 09:38:29PM

Thanks, that clarifies things a lot.

Now this tunnel lasts for as long as the initial ssh connection, right?

That is, as long as this ssh connection
ssh -NR 2200:192.168.1.1:22 root@128.128.128.128
is open, I can connect, but once that connection dies, the tunnel is broken?

Hmm... I'd really rather not use root. Yes it's ssh and it should be secure and all, but why bother taking the risk. Can I do something nifty instead, by using more ssh tunnels on work computer to tunnel low port numbers into low ones, so connecting to work:8000 tunnels to work:80? Would I do that with ssh tunnel on the work computer or home computer?

Thanks much for your help, this is exactly what I've been looking for for quite a while! Well... it's not perfect as you can't connect from any given computer anywhere in the world (my Holy Grail of worldwide connectivity), but it's very useful anyway =)



[ Reply to This | # ]
Re: Huh?
Authored by: david-bo on Sep 12, '02 12:11:46PM

You don't connect as root, you just opens the tunnel as root. You are not allowed to open tunnels over ports <1023 as regular user. This restriction is similar to using sudo to edit system setting files.



[ Reply to This | # ]