How do I set the ssh Timeout on an ESX 3.5 Host so that after I putty into the host it drops the ssh connection after 15 min if the session is idle?
Pete
Not sure that is possible with sshd.
But you can do with bash.
Just set an environment varible (in rc.local or in profile):
export TMOUT=900
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Not sure that is possible with sshd.
But you can do with bash.
Just set an environment varible (in rc.local or in profile):
export TMOUT=900
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Is this in seconds I assume?
Yes.
This setting will also work for console connection, cause is at session level (not terminal depending).
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
what are the different effects for setting this in rc.local as apposed to profile?
How can I view all of the possible settings that can be configured here? And one more question. is it /etc/rc.d/rc.local or /etc/rc.local ?
Message was edited by: Chamon
what are the different effects for setting this in rc.local as apposed to profile?
In this case (environment variable) you must add the command in /etc/profile or /rot/.bashrc
In effect rc.local is not a good place for this kind of variable.
For more info you have to read the bash man page.
Or some linux reference.
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Thanks I will do that.
You're welcome.
Andre
Thanks!
You're welcome.
Andre