ā05-10-2016 02:15 AM
Hi, I am not able to SSH to my switch but telnet no problem.
I have already tried to zeroise the crypto key and re-generate again but problem still persists.
When I show log, this is the error msg.
241207: May 10 15:42:05.220: SSH2 0: RSA_sign: private key not found
241208: May 10 15:42:05.220: SSH2 0: signature creation failed, status -1
Anyone able to advise?
ā05-10-2016 05:43 AM
show crypto key
what IOS version by the way?there's a possibility that you are hitting this bug here also
ā05-11-2016 01:17 AM
I have already zeroize the key (it is same as clearing/removing the key).
Re-generated the key but still not working....
Not sure if restarting the switch will resolve the issue. We encountered this problem only after changing the hostname...
ā05-11-2016 04:19 AM
I came across this old thread here what it basically suggesting is to go back to your original name and then follow it in a sequence as in zeroized the key > Change
See if that helps before restarting
ā05-13-2019 07:31 PM
Supper... !!! it works.. Thank you..
ā05-14-2019 07:16 AM
Hello!
I tried to create your situation in GNS.
**************
What I made in R1.
conf t
int f0/0
no shut
ip add 10.10.10.10 255.255.255.0
ip domain-name example.com
crypto key generate rsa
1024
ip ssh version 2
username admin secret 123
line vty 0 4
login local
transport input ssh
do write
**********
What I made in R2.
conf t
int f0/0
no shut
ip add 10.10.10.20 255.255.255.0
do write
****************************
I tried to connect via SSH from R2 to R1 = OK.
After that I changed hostname of router R1 to R44 and rebooted router.
Next I tried to connect via SSH again and everything is OK.
Problem didn't appear.
Am I wrong 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