- Specify the Host name.
Router(config)#hostname <host name>
- Define a default domain name.
Router(config)#ip domain-name <Domain Name>
- Generate RSA key pairs.
Router(config)#crypto key generate rsa
- Configure SSH-RSA keys for user and server authentication.
Router(config)#ip ssh pubkey-chain
- Configure the SSH username.
Router(conf-ssh-pubkey)#username <user name>
- Specify the RSA public key of the remote peer.
Router(conf-ssh-pubkey-user)#key-string
- Specify the SSH key type and version. (optional)
Router(conf-ssh-pubkey-data)#key-hash ssh-rsa <key ID>
- Exit the current mode and return to privileged EXEC mode.
Router(conf-ssh-pubkey-data)#end
Thursday, June 21, 2012
SSH configuration
Labels:
Cisco,
configuration
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment