LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-27-2004, 11:44 AM   #1
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
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?
 
Old 10-27-2004, 11:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why don't you try it to find out?
 
Old 10-27-2004, 05:12 PM   #3
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
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.
 
Old 10-27-2004, 05:27 PM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Add this ---> KeepAlive yes

to
1) $HOME/.ssh/config
2)/etc/ssh/sshd_config
3)/etc/ssh/ssh_config
 
Old 10-27-2004, 09:14 PM   #5
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
Thank you for the tips. We'll see how this works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unresponsive keyboard bazz Linux - Newbie 3 07-13-2007 06:23 AM
Modem unresponsive Garzo Linux - Hardware 5 06-10-2005 12:08 PM
ssh login takes several minutes exodist *BSD 10 05-26-2005 03:17 PM
unresponsive during login danharris Linux - Newbie 4 12-04-2004 04:32 PM
SSH takes a long time (2 minutes) to connect jinju Linux - Newbie 5 07-31-2004 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration