SSH Commands 293
SSH Commands

ip ssh port

The
ip ssh port
Global Configuration mode command specifies the port to be used by the SSH
server. To use the default port, use the
no
form of this command.
Syntax
ip ssh port
port-number
no ip ssh port
port-number
—Port number for use by the SSH server (Range: 1 - 65535).
Default Configuration
The default value is 22.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example specifies the port to be used by the SSH server as 8080.

ip ssh server

The
ip ssh server
Global Configuration mode command enables the device to be configured from a
SSH server. To disable this function, use the
no
form of this command.
Syntax
ip ssh server
no ip ssh server
Default Configuration
SSH is enabled.
Command Mode
Global Configuration mode
Console (config)# ip ssh port 8080