rocknwatch

updated

4 years ago

R

rocknwatch

1 Rookie

9 Posts

0

1395

April 25th, 2022 10:00

Error. Failed to generate DSA key

Hi,

I have two N3048P switches in a stack running version 6.5.4.18 and I am trying to get ssh configured. Telnet is enabled so I can access it remotely currently, but would like to use ssh. What I did:

1. Enter into configuration mode: (conf t)

2. no ip ssh server

3. crypto key zeroize dsa

4. crypto key zeroize rsa

5. crypto key zeroize pubkey-chain ssh

6. crypto key generate dsa 

... I get an error showing "Error: Failed to generate DSA key."

When trying it with RSA first, I get a similar error: "Error. Failed to generate RSA key."

Any reason why this is the case?