Example:
Device>
enable
Step 2
show ip ssh
Displays the currently configured authentication methods. To confirm the use of certificate-based authentication, ensure
that the x509v3-ssh-rsa algorithm is the configured host key algorithm.
Example:
Device#
show ip ssh
SSH Enabled - version 1.99
Authentication methods:publickey,keyboard-interactive,password
Authentication Publickey Algorithms:x509v3-ssh-rsa,ssh-rsa
Hostkey Algorithms:x509v3-ssh-rsa,ssh-rsa
Authentication timeout: 120 secs; Authentication retries: 3
Minimum expected Diffie Hellman key size : 1024 bits
Configuration Examples for X.509v3 Certificates for SSH Authentication
Example: Configuring Digital Certificates for Server Authentication
Switch>
enable
Switch#
configure terminal
Switch(config)#
ip ssh server algorithm hostkey x509v3-ssh-rsa
Switch(config)#
ip ssh server certificate profile
Switch(ssh-server-cert-profile)#
server
Switch(ssh-server-cert-profile-server)#
trustpoint sign trust1
Switch(ssh-server-cert-profile-server)#
exit
Example: Configuring Digital Certificate for User Authentication
Switch>
enable
Switch#
configure terminal
Switch(config)#
ip ssh server algorithm authentication publickey
Switch(config)#
ip ssh server algorithm publickey x509v3-ssh-rsa
Switch(config)#
ip ssh server certificate profile
Switch(ssh-server-cert-profile)#
user
Switch(ssh-server-cert-profile-user)#
trustpoint verify trust2
Switch(ssh-server-cert-profile-user)#
end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1123
Configuration Examples for X.509v3 Certificates for SSH Authentication
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......