Specifies the TCP port number. TCP ports are numbered between 1
and 65535. The “well-known” TCP port for the SSH protocol is 22.
Default
By default, this value is 22.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command configures the TCP port number for SSH server.
Example
This example shows how to change the service port number to 3000.
Switch# configure terminal
Switch(config)# ip ssh service-port 3000
Switch(config)#
60-6 show crypto key mypubkey
This command is used to display the RSA or DSA public key pairs.
show crypto key mypubkey {rsa | dsa}
Parameters
Default
None.
Command Mode
Privileged EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command displays the RSA or DSA public key pairs.
Example
This example shows how to information regarding the RSA public key.