LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-02-2019, 10:34 PM   #1
linuxuser0024
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
RHEL: /etc/ssh/sshd_config "ClientAliveInterval" versus etc/profile "TIMEOUT" and "TMOUT"


Hi!

I would like to understand what is the difference of idle session timeout configured in /etc/ssh/sshd_config using parameter ClientAliveInterval versus the etc/profile TIMEOUT and TMOUT

what happens if i only configure the clientaliveinterval and not the other one, vice versa?

which is more secure, via sshd/config or via etc/profile?

thanks!
 
Old 12-04-2019, 02:54 PM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,099

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
Quote:
Originally Posted by linuxuser0024 View Post
Hi!

I would like to understand what is the difference of idle session timeout configured in /etc/ssh/sshd_config using parameter ClientAliveInterval versus the etc/profile TIMEOUT and TMOUT

what happens if i only configure the clientaliveinterval and not the other one, vice versa?

which is more secure, via sshd/config or via etc/profile?

thanks!
See the relevant sections in man sshd_config for details of those options.

Personally, I don't want an ssh session to automatically end for any reason if I can help it.

I've not seen TIMEOUT or TMOUT used for session control, so can't help you there.
 
  


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
ssh trying to configure sshd_config problem with ListenAddress and ssh restart pulper Linux - Networking 1 10-13-2014 09:20 AM
sshd ClientAliveInterval per user eeluve Linux - Security 6 10-23-2013 10:15 PM
[SOLVED] Cannot able to do ssh after doing changes in /etc/ssh/sshd_config suboss87 Linux - Security 2 09-06-2012 12:15 AM
Starting sshd: /etc/ssh/sshd_config line 60: garbage at end of line; "no". any clue? loba09 Linux - Server 1 02-17-2011 08:04 PM
/etc/ssh/sshd_config: Permission Denied cK` Linux - Newbie 3 04-06-2010 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration