Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd like to have some hits from you about a problemi on ssh connection.
I have two servers with RedHat 5.4 installed and I have an application that looks like a cluster handler (as veritas, heartbeat, suncluster, redhatcluster and so on). This Application is not graphic and when I started it makes an "attach" to the bash shell.
My problem is the following:I connect through Putty client and after some minutes the ssh connection goes in INACTIVE mode. At this point I lost the bash shell with the prompt of application. It is not possible "detach" the application from the shell so I did the following instruction to avoid the inactive state of ssh connection:
I modified sshd_config file only
TCPKeepAlive yes
ClientAliveInterval 300
and then
/etc/init.d/sshd restart
Unfortunately it doesn't work. Is there any other solution to keep "ACTIVE" the ssh connection?
just set a keepalive on putty, make it check every 10 seconds in the gui and you should be ok, assuming that you do actually not use the connection for a period of time, and these interruptions aren't in the middle of being used.
Thank you! I already tried to set keep alive on client and it works properly but for my scope I should keep alive the ssh session "for ever" unless I terminate it. Therefore I have to avoid the "crash" of ssh connection and shell.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.