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

SSH Error!

Good Morning!

I had cisco 7206 router with ssh server enabled on it. After clearing nvram and deploying the same config file(copy and paste), i can't enable ssh! .there is no "crypto key generate" command.

Has anybody had the same problem?

4 REPLIES
Purple

Re: SSH Error!

You have to make sure that your router has a host name and IP domain name configured before you can issue this command.

Note also the the "crypto key generate" command is not saved in the router configuration; however, the RSA keys generated by this command are saved in the private configuration in NVRAM (which is never displayed to the user or backed up to another device).

Hope that helps - pls rate the post if it does.

Regards,

Paresh

New Member

Re: SSH Error!

They both were configured...But the problem is when i tried to configure ssh first time with crypto command, router asked me to configure ip domain name first!.Then i managed to generate a key.But know i can't even see the crypto command...I can see nothing related with ssh....("transport input ssh" in vty line config mode....SSH isnot there!)

VIP Purple

Re: SSH Error!

Hello,

you might want to try to unlock the previously configured key with the command:

7206# crypto key unlock rsa name key1.domain.com passphrase cisco

Change the key name to the one you have configured...

Regards,

GP

New Member

Re: SSH Error!

I found the solution.Problem was related with system image! I have two ios loaded to flash.One support ssh,the other doesn,t.After erasing nvram and reloading router it booted from old image!

160
Views
0
Helpful
4
Replies
CreatePlease login to create content