ssh server port

Use this command to set the port number on which the SSH server listens for connections. The default port on which the SSH server listens is 22.

Use the no form of this command to set the default port number (22).

Command Syntax

Copy
ssh server port <1024-65535> (vrf (NAME|management)|)
no ssh server port (vrf (NAME|management)|)

Parameters

<1024-65535>

Port number

vrf management

Defines the management VRFClosed Virtual Routing and Forwarding instance.

vrf NAME

Specify the user-defined VRF instance name.

Default

By default, SSH server port is 22.

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#ssh server port 1720