4 ip ssh maxsessions, 5 ip ssh timeout – Fortinet 548B User Manual

Page 187

Advertising
background image

- 187 -

Command Mode

Global Config

7.3.8.4 ip ssh maxsessions

This command specifies the maximum number of SSH connection sessions that can be established. A
value of 0 indicates that no ssh connection can be established. The range is 0 to 5.

Syntax

ip ssh maxsessions <0-5>
no ip ssh maxsessions

<0-5> - maximum number of sessions.

no - This command sets the maximum number of SSH connection sessions that can be established
to the default value.

Default Setting

SSH1 and SSH2

Command Mode

Global Config

7.3.8.5 ip ssh timeout

This command sets the SSH connection session timeout value, in minutes. A session is active as long
as the session has been idle for the value set. A value of 0 indicates that a session remains active
indefinitely. The time is a decimal value from 0 to 160. Changing the timeout value for active sessions
does not become effective until the session is reaccessed. Any keystroke will also activate the new
timeout duration.

Syntax

ip ssh timeout <1-160>
no ip ssh timeout

<1-160> - timeout interval in seconds.

no - This command sets the SSH connection session timeout value, in minutes, to the default.
Changing the timeout value for active sessions does not become effective until the session is
reaccessed. Any keystroke will also activate the new timeout duration.

Advertising