Re: ssh reverse tunnel
- From: "Jeffrey Ross" <jeff@xxxxxxxxxx>
- Date: Mon, 30 Jun 2008 17:09:48 -0400 (EDT)
Rick Bilonick wrote:I found a little utility called "spinner" it will draw a spinning bar in
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@xxxxxxx
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.
Run something like
while date ; do sleep 60; done
in the ssh session setting up the tunnel, adjust sleep time if needed.
That will generate some traffic to keep the connection from timing out.
the corner of the screen or with the "-n" option send a null char once a
second (adjustable) I simply type "spinner -n". This will keep your
session open indefinitely.
Program is here: http://www.laffeycomputer.com/spinner.html
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- ssh reverse tunnel
- From: Rick Bilonick
- Re: ssh reverse tunnel
- From: Jaakko Ruutiainen
- ssh reverse tunnel
- Prev by Date: help with setting up graphics
- Next by Date: Please help with F9 ActiveSync <-> OpenSync
- Previous by thread: Re: ssh reverse tunnel
- Next by thread: F8 and a GPS -
- Index(es):
Relevant Pages
|