HPE 3PAR SSH Timeout

If like me you tend to leave yourself logged into various systems via SSH you may want to extend the timeout value so you’re not kicked off.

HPE 3PAR arrays offer SSH for management with a default timeout of 1 hour – this is usually sufficient but you may wish to increase or decrease this depending on your policies and compliance requirements.


Viewing SSH Timeout:  showsys –param

First let us view the existing time out values on an array, for this we will use the showsys –param command.


You can see the final entry is for SessionTimeout and currently has a value of 01:00:00 which equates to 1 hour. Currently this is the only way to view the session timeout value on a 3PAR, the traditional GUI and web consoles do not expose this information.


Set SSH Timeout: setsys

Now that we know what the current timeout value is we can go ahead and modify it using the setsys command. This command is used to modify various system information and parameters. We can use the 3PAR help command to gain further information on the setsys command –


As you can see the help command outputs a lot of information and right now all we are interested in is the session timeout. If we look at the help text it is pretty self explanatory –


I want to set my SSH timeout to the maximum value so I will enter the setsys command –


Something to note is the 3PAR command line is case sensitive so you have to enter the session timeout exactly as shown, i.e SessionTimeout

If you don’t do this an error will be presented –


Finally if we again check the system parameters we see the new timeout value –


Remember when setting timeout values they are in place to protect you. If you’re going to extend the timeout be sure you lock your workstation or secure it so unauthorised parties cannot make changes when you have left yourself logged in. Check with your security or information governance teams to see if there are mandated values you must use.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.