Rick Bilonick wrote:
On Tue, 2008-07-01 at 14:07 -0400, Bill Davidsen wrote:
> 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(a)home.ip
>>
>> Then when at the home computer, I type:
>>
>>> ssh -p 2022 server@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.
And if I had any control over any of this, that would be exactly what I
would do. But since I don't, this fits the bill.
Just be aware of the laws about unauthorized access to computers, and
CYA. Something in writing might be nice, in case you ever need proof.
[ not cc to any list ]
--
Bill Davidsen <davidsen(a)tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot