Quote:
Originally Posted by linuxuser0024
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.