beautypg.com

4 ssh client session commands, 1 ssh, 2 sshc sessions – Fortinet 548B User Manual

Page 167

background image

- 167 -

7.3.4

SSH Client Session Commands

7.3.4.1 ssh

This command establishes a new outbound ssh connection to a remote host.

Syntax

ssh { [port <1-65535>] [protocol ] | [protocol
] [port <1-65535>]}

- A hostname or a valid IP address.

- user account.

[port] - A valid decimal integer in the range of 1 to 65535, where the default value is 22.

[protocol] - SSH Protocol Level (Version) 1 or 2.

Default Setting

None

Command Mode

Privileged Exec

7.3.4.2 sshc sessions

This command regulates new outbound ssh connections. If enabled, new outbound ssh sessions can be
established until it reaches the maximum number of simultaneous outbound ssh sessions allowed. If
disabled, no new outbound ssh session can be established. An established session remains active until
the session is ended or an abnormal network error ends it.

Syntax

sshc sessions
no sshc sessions

no - This command disables new outbound ssh connections. If disabled, no new outbound ssh
connection can be established.

Default Setting

Enabled

Command Mode

Global Config