SSH Commands 1045
Syntax
crypto key pubkey-chain ssh
Default Configuration
By default, this command has no public keys configured.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enters the SSH Public Key-chain configuration mode.
console#configure
console(config)#crypto key pubkey-chain ssh
console(config-pubkey-chain)#user-key bob rsa
console(config-pubkey-key)#key-String 
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWlAl4kpqIw9GBRonZQZxjHKcqKL6r
MlQ+ZNXfZSkvHG+QusIZ/76ILmFT34v7u7ChFAE+Vu4GRfpSwoQUvV35LqJJk67IOU
/zfwOl1gkTwml75QR9gHujS6KwGN2QWXgh3ub8gDjTSqMuSn/Wd05iDX2IExQWu08l
icglk02LYciz+Z4TrEU/9FJxwPiVQOjc+KBXuR0juNg5nFYsY0ZCk0N/W9a/tnkm1s
hRE7Di71+w3fNiOA6w9o44t6+AINEICBCCA4YcF6zMzaT1wefWwX6f+Rmt5nhhqdAt
N/4oJfce166DqVX1gWmNzNR4DYDvSzg0lDnwCAC8Qh
console(config-pubkey-key)#exit
ip ssh port
Use the ip ssh port command in Global Configuration mode to specify the TCP 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)