Hi All,
sometime you might happen to see the issue that the telnet/ssh to the box is not happening from remote.But console works.
Hardware;WS-C6509-E
logging to the box through console and checking the logs it reports the following error:-
Sep 16 03:00:27.151 UTC: SSH2 0: signature creation failed, status -1
Sep 16 04:19:30.823 UTC: SSH2 0: RSA_sign: private key not found
Sep 16 04:19:30.823 UTC: SSH2 0: signature creation failed, status -1
Solution:-
we need to clear the old RSA keys and create new one using the below command.
1-Conf t
2-crypto key zeroize rsa >> This cmd will clear the keys.
3-crypto key generate rsa general-keys label <Hostname> mod 1024 >>>>> If you don’t use this switch host name and just use the “crypto key generate rsa general-keys label mod 1024” -key gets generated but the issue will still remain.Hence make sure they use the switch hostname under that command to have this issue resolved.
4-wr
We have also filed a bug for the same and here is the bug id:-CSCtc41114
https://tools.cisco.com/bugsearch/bug/CSCtc41114/?referring_site=bugquickviewredir
Please do revert back for any clarification.
HTH
Regards
Inayath