Administrator Guide

Authentication, Authorization, and Accounting 263
Authenticating Without a Public Key
When authenticating without the public key, the switch prompts for the user
name and password. This is a SSH function, not a switch function. If the user
knows the administrator login and password, then they are able to
authenticate in this manner.
Associating a User With an SSH Key
The following example shows how to associate a user with an externally
generated SSH key. SSH, RSA, or DSA keys can be generated by using the ssh-
keygen command on a Unix system or with other publicly available utilities.
1
Create the local user:
console#config
console(config)#username mylogin password XXXXXXXX privilege
15
2
Enter the externally generated key:
console(config)#crypto key pubkey-chain ssh
3
Associate the key with the newly added user login:
console(config-pubkey-chain)#user-key mylogin dsa