06-27-2023 10:23 AM
Hi Team,
I need help in configuring ssh rsa key in nexus switch which is of model C7710
PPC-R3-1-NXMGT-15-21(config)# ssh key rsa 2048 force
deleting old rsa key.....
ssh server is enabled, cannot delete/generate the keys
This is the error i am getting.
Solved! Go to Solution.
07-12-2023 08:49 AM
Thanks Nawir, I got the solution from Cisco TAC.
Below are the detailed steps
Login to admin VDC and enable telnet feature
****************************************************
Switch(config)# feature telnet
****************************************************
The login via telnet to admin vdc and perform below steps
****************************************************
Switch(config)# no feature ssh
XML interface to system may become unavailable since ssh is disabled
Switch(config)# no ssh key
Switch(config)# ssh key rsa 2048 force
generating rsa key(2048 bits).....
.
generated rsa key
Switch(config)# feature ssh
Switch(config)#
****************************************************
Login via SSH again and disable telnet feature if not required
****************************************************
Switch(config)# no feature telnet
****************************************************
07-03-2023 08:20 AM
Can anyone please help
07-12-2023 02:44 AM
-recreate ssh key
#no feature ssh
# ssh key rsa 2048 force
# feature ssh
07-12-2023 08:49 AM
Thanks Nawir, I got the solution from Cisco TAC.
Below are the detailed steps
Login to admin VDC and enable telnet feature
****************************************************
Switch(config)# feature telnet
****************************************************
The login via telnet to admin vdc and perform below steps
****************************************************
Switch(config)# no feature ssh
XML interface to system may become unavailable since ssh is disabled
Switch(config)# no ssh key
Switch(config)# ssh key rsa 2048 force
generating rsa key(2048 bits).....
.
generated rsa key
Switch(config)# feature ssh
Switch(config)#
****************************************************
Login via SSH again and disable telnet feature if not required
****************************************************
Switch(config)# no feature telnet
****************************************************
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