Re: ssh reverse tunnel

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

 



Rick Bilonick wrote:
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.
Some firewalls have a time limit on connections, and the connections will fail as soon as that timeout occurs. Note when the ssh session is started, and when it times out. See if there is a consistent connection duration.

If that is occuring the only solutions are to alter the timeout on the firewall (I did that on some checkpoint firewalls a few years ago) or re-initiate the connection whenever it goes down (yum install autossh). Obviously the latter is not ideal because your inbound session is lost uncleanly and you cannot predict when it will happen unless you know what the firewall connection timeout is for that port, and when the session was initiated. But if it means that getting a connection remains possible that would be better than losing the capability until you are next in the office.


Chris

--
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #804005699817957

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux