ssh reverse tunnel

Bill Davidsen davidsen at tmr.com
Tue Jul 1 18:07:22 UTC 2008


Rick Bilonick wrote:
> I re-installed Fedora 8 and now I can get a reverse ssh tunnel (from
> server to home) by typing on the server:
> 
>> ssh -R 2022:server.ip:22 home at home.ip
> 
> 
> Then when at the home computer, I type:
> 
>> ssh -p 2022 server at localhost
> 
> This works fine. The only problem is the connection always times out
> even though I've changed the sshd_config files on both machines to keep
> it alive. I've restarted the sshd daemon also. Not sure why the
> connection keeps closing.
> 
And the reason this is desirable? You can easily set iptables to accept 
ssh packets on 2022 from only your computer, and not run encryption 
through encryption. And if you want a real connection, OpenVPN is 
probably a better solution.


-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the fedora-list mailing list