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

Page 167

Advertising
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 <ip-address|hostname> <username> { [port <1-65535>] [protocol <protocollevel>] | [protocol
<protocollevel>] [port <1-65535>]}

<ip-address|hostname> - A hostname or a valid IP address.

<username> - 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

Advertising