Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-27-2004, 11:44 AM
|
#1
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
ssh becomes unresponsive after several minutes of idling
I have an old PC running Debian (sarge) that I'm currently using as an SSH server. If I login from another computer but don't enter any commands for a few minutes, the connection becomes idle and I have to hit Enter several times to bring it back up, sometimes causing a snafu in the program that is running. I want to disable this feature.
Will the command
setterm -blank 0
solve the problem?
|
|
|
10-27-2004, 11:47 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
why don't you try it to find out?
|
|
|
10-27-2004, 05:12 PM
|
#3
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Original Poster
Rep:
|
I did, but I didn't have time to let it idle long enough in order to see.
I suppose I'll try again. Actually I was wondering if there was a more permanent solution to the problem.
|
|
|
10-27-2004, 05:27 PM
|
#4
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
Add this ---> KeepAlive yes
to
1) $HOME/.ssh/config
2)/etc/ssh/sshd_config
3)/etc/ssh/ssh_config
|
|
|
10-27-2004, 09:14 PM
|
#5
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Original Poster
Rep:
|
Thank you for the tips. We'll see how this works.
|
|
|
All times are GMT -5. The time now is 07:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|