Forum Discussion
Inactivity-timeout for tmsh connection
Shaggy,
Thanks for the reply, but in boxes of tmos version 10.x we don't find idle-timeout util.
Here are some queries.
1)Also is it mandatory to set these options to kick off idle sessions. Ain't those taken care by f5 itself without any manual configuration.
2) If am setting the time-out today will it kill the older sessions as well.
3) Is it advisable to clean the idle sessions with external scripts which looks some thing like this,
netstat -anp | grep | awk '{print $7}' | cut -d \/ -f1 | grep -oE "[[:digit:]]{1,}" | xargs kill
- shaggyOct 13, 2014
Nimbostratus
try: tmsh modify sys global-settings console-inactivity-timeout I don't have a v10 to test, but it appears to have worked for someone else in v10 - shaggyOct 13, 2014
Nimbostratus
1) If you want session timeout, you should set these values. As far as I know, F5 doesn't have a default CLI/SSH/TMSH/bigpipe timeout. 2) I'm not sure if it will kill the older sessions as I expect the timeout applies to new sessions only. If they remain after making the change, you can use "ps | grep sshd | grep (user-name)" and "kill (pid)" to clear the old sessions 3) This isn't necessary if the timeouts are set and function as expected 3a) If this is an automated process/device logging into the F5, can it be configured to send the appropriate quit/exit commands to properly terminate the session when completed? - theprophet_2612Apr 28, 2016
Nimbostratus
Just following guide, it can resolve your problem System > Configuration > SSHD. In the Idle Time Before Automatic Logout, adjust duration time you prefer
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
