Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-26-2008, 12:57 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Unhappy ssh autologout from linux server

Hello ,

I have a problem when i login in server and i am auto-logout from server so please help in this matter.

Old 12-26-2008, 01:50 AM   #2
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
What is your ClientAliveInterval set to in your /etc/ssh/sshd_config ?
Increase this and check.
If commented, then uncomment it and set it to a high value.

Remember to restart sshd
Old 12-26-2008, 09:38 AM   #3
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Originally Posted by Energy84 View Post
Hello ,

I have a problem when i login in server and i am auto-logout from server so please help in this matter.

At a command prompt type:

set | grep -i TMOUT
That will show if you have an autologout set in bash, in tcsh it's autologout.

If that value is set it will log you out of the system after the number of seconds it says. If that value is not set then you need to look to both your ssh clients configuration and your ssh server configuration to determine what options may be causing problems.


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
kerberized ssh window client can't authenticate to kerberized Linux SSH server celeron Linux - Software 0 04-11-2007 05:36 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
SSH-Autologout XaViaR Linux - Security 2 02-17-2005 10:42 AM
autologout, vnc Tredo Linux - General 0 12-16-2004 12:01 PM
terminal autologout FLOODS Linux - Newbie 2 01-25-2004 07:21 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:20 AM.

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