Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config firewall ssh host-key

SSH proxy host public keys.

config firewall ssh host-key

Description: SSH proxy host public keys.

edit <name>

set status [trusted|revoked]

set type [RSA|DSA|...]

set nid [256|384|...]

set ip {ipv4-address-any}

set port {integer}

set hostname {string}

set public-key {var-string}

next

end

config firewall ssh host-key

Parameter name

Description

Type

Size

status

Set the trust status of the public key.

option

-

 

Option

Description

trusted

The public key is trusted.

revoked

The public key is revoked.

type

Set the type of the public key.

option

-

 

Option

Description

RSA

The type of the public key is RSA.

DSA

The type of the public key is DSA.

ECDSA

The type of the public key is ECDSA.

ED25519

The type of the public key is ED25519.

RSA-CA

The type of the public key is from RSA CA.

DSA-CA

The type of the public key is from DSA CA.

ECDSA-CA

The type of the public key is from ECDSA CA.

ED25519-CA

The type of the public key is from ED25519 CA.

nid

Set the nid of the ECDSA key.

option

-

 

Option

Description

256

The NID is ecdsa-sha2-nistp256.

384

The NID is ecdsa-sha2-nistp384.

521

The NID is ecdsa-sha2-nistp521.

ip

IP address of the SSH server.

ipv4-address-any

Not Specified

port

Port of the SSH server.

integer

Minimum value: 0 Maximum value: 4294967295

hostname

Hostname of the SSH server.

string

Maximum length: 255

public-key

SSH public key.

var-string

Maximum length: 32768

config firewall ssh host-key

SSH proxy host public keys.

config firewall ssh host-key

Description: SSH proxy host public keys.

edit <name>

set status [trusted|revoked]

set type [RSA|DSA|...]

set nid [256|384|...]

set ip {ipv4-address-any}

set port {integer}

set hostname {string}

set public-key {var-string}

next

end

config firewall ssh host-key

Parameter name

Description

Type

Size

status

Set the trust status of the public key.

option

-

 

Option

Description

trusted

The public key is trusted.

revoked

The public key is revoked.

type

Set the type of the public key.

option

-

 

Option

Description

RSA

The type of the public key is RSA.

DSA

The type of the public key is DSA.

ECDSA

The type of the public key is ECDSA.

ED25519

The type of the public key is ED25519.

RSA-CA

The type of the public key is from RSA CA.

DSA-CA

The type of the public key is from DSA CA.

ECDSA-CA

The type of the public key is from ECDSA CA.

ED25519-CA

The type of the public key is from ED25519 CA.

nid

Set the nid of the ECDSA key.

option

-

 

Option

Description

256

The NID is ecdsa-sha2-nistp256.

384

The NID is ecdsa-sha2-nistp384.

521

The NID is ecdsa-sha2-nistp521.

ip

IP address of the SSH server.

ipv4-address-any

Not Specified

port

Port of the SSH server.

integer

Minimum value: 0 Maximum value: 4294967295

hostname

Hostname of the SSH server.

string

Maximum length: 255

public-key

SSH public key.

var-string

Maximum length: 32768