10-29-2008 08:48 AM - edited 02-21-2020 10:22 AM
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
11-04-2008 11:48 AM
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
11-04-2008 12:40 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide