Re: ssh reverse tunnel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 30, 2008 at 9:15 AM, Rick Bilonick <rab@xxxxxxxxxxxx> 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@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.
>
> Rick B.
>

If you have root access increase the ssh session idle time
     echo "3600" > /proc/sys/net/ipv4/tcp_keepalive_time
that's 3600 seconds (1hr), you can change it.

or just run the command "top" in the active terminal.
~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux