09-11-2006 05:32 AM - edited 03-03-2019 04:58 AM
Hi there,
I have a problem that I hope you guys can assist with. I have a 2950 router on which I want to enable SSH on. Everything is fine and well, until I reboot the router. Then it only starts working again, when I regenerate the certificates using:
crypto key generate rsa modulus 768
The above command then generates a cert, and enables the SSH service. But this doesn't persist when I do a reload. Any ideas how I can permanently enable SSH?
- Jaco
Solved! Go to Solution.
09-11-2006 11:36 PM
Try to delete RSA key with command
crypto key zeroize rsa
and than generate again with command ( i suggest with 1024 modulus)
crypto key generate rsa
save configuration
and try again
M.
09-11-2006 10:50 AM
did you do a 'write memory' command, to write the configuration change to memory?
if not, perform this and you should be good to reboot and reload WITH the changes still in effect.
09-11-2006 01:06 PM
I did issue the # wr command. After I create the crypto key, there is no indication that it is indeed part of the running config, and hence doesn't get saved to memory I presume. sh crypto displays the key, but it's not part of the "configuration" if you understand what I mean?
09-11-2006 01:09 PM
It could be an IOS bug.
What version are you using?
09-11-2006 11:19 PM
# sh version
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by cisco Systems, Inc.
Compiled Fri 28-Jul-06 17:00 by weiliu
Image text-base: 0x80010000, data-base: 0x8067A000
09-11-2006 11:36 PM
Try to delete RSA key with command
crypto key zeroize rsa
and than generate again with command ( i suggest with 1024 modulus)
crypto key generate rsa
save configuration
and try again
M.
09-11-2006 11:57 PM
WOW, it worked! Weird that had to first zero the size, and then create a key again before it would work. Also where is the key stored in flash somewhere?
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