Telnet, Secure Shell (SSH) and Secure Login (Slogin) Commands
78-21075-01 Command Line Interface Reference Guide
no ip ssh port
Parameters
port-number—Specifies the port number to be used by the SSH server. (Range:
1–65535)
Default Configuration
The default port number is 22.
Command Mode
Global Configuration mode
Example
The following example specifies that port number 8080 is used by the SSH server.
switchxxxxxx(config)#
14.4
ip ssh pubkey-auth
Use the ip ssh pubkey-auth Global Configuration mode command to enable public
key authentication of incoming SSH sessions.
Use the no form of this command to disable this function.
Syntax
ip ssh pubkey-auth [auto-login]
no ip ssh pubkey-auth
Parameters
auto-login— Specifies that the device management AAA authentication is not
needed. By default, this login is required after the SSH authentication.
Default Configuration
Public key authentication of incoming SSH sessions is disabled.
Auto-login is not enabled.
8080
ip ssh port
14
231