Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Crypto RSA Key for authentication using SSH in Cisco WS-C4506

Hi. I wonder how I can generate a rsa key for automatic authentication with my Cisco switches and routers. Every time I want to connect to them, they ask me by my user and password; However I heard with a public key configured between the switch and my ssh client (putty or openssh in Debian), they never will ask me this information again. Have you heard something about that? Please help me... Thanks

2 REPLIES
Silver

Re: Crypto RSA Key for authentication using SSH in Cisco WS-C450

To generate RSA keys use the command “Router(config)# crypto key generate rsa [usage-keys | general-keys] [key-pair-label] “ in config mode.

This explains about the RSA key generation:

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftmltkey.html#wp101535

Cisco Employee

Re: Crypto RSA Key for authentication using SSH in Cisco WS-C450

Hello Cesar,

Creating the RSA Keys is for SSH to work. But, when you try to access the Router or Switch through SSH, the router or switch is going to prompt you for Authentication if AAA is configured on that specific chassis. So, if you use the Username/Password that you typically use for your telnet connection, does it work? and let you access the chassis.

Based on the type of AAA configured, the chassis will prompt you for Username/Password.

Regards,

Arul

778
Views
0
Helpful
2
Replies