cancel
Showing results for 
Search instead for 
Did you mean: 

invalid ssh key after config restore

invalid ssh key after config restore

aloeffle
Contributor
Dear all.

ssh is not working after restore a previously saved config.

1. save config new.cfg
2. unconfigure switch all
3. use configuration new.cfg
4 reboot

The configuration is loaded successful and complete, but ssh is not working anymore. Connection error.

checking "show management" show me an invalid ssh key.

X460G2-24p-10G4.3 # show management

...
SSH access : Disabled (Key invalid, tcp port 22 vr all)
: Secure-Mode : Off
: Access Profile : not set
SSH2 idle time : 60 minutes
...

I need to renew the key by "configure ssh2 key"

Any Idea how to fix it?

Thanks
Alex

7 REPLIES 7

Ram3
Extreme Employee
Did try to do ‘run update’ and ‘restart process thttpd’?

Peter_Chang
New Contributor II
We had the ssh key go invalid on us after a config restore as well. Thanks, as finding this thread helped us. Regenerating the key fixed this issue.

Hi Ram.

to make the ssh key valid again, I need to execute "configure ssh2 key".

Then a new key is generated and ssh is working again. The problem is, that this can not be done remote. I need onsite access.

regards

Alex

aloeffle
Contributor
Hi Alexandr.

thanks for your fast feedback.

This is bad...
I will talk to GTAC about this.

regards
Alex
GTM-P2G8KFN