Fortinet black logo

CLI Reference

ssh

ssh

Use this command to establish an ssh session with another system.

Syntax

execute ssh  Simple SSH client.
        {user@host}   User-name @ IP-address or DNS-name.
            {port}   port.

The port number is optional.

Example

execute ssh admin@172.20.120.122

To end an ssh session, type exit:

FGT-6028030112 # exit

Connection to 172.20.120.122 closed.

FGT-8002805000 #

ssh

Use this command to establish an ssh session with another system.

Syntax

execute ssh  Simple SSH client.
        {user@host}   User-name @ IP-address or DNS-name.
            {port}   port.

The port number is optional.

Example

execute ssh admin@172.20.120.122

To end an ssh session, type exit:

FGT-6028030112 # exit

Connection to 172.20.120.122 closed.

FGT-8002805000 #