cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
466
Views
0
Helpful
3
Replies

Facing issue while configuring SSH key in Nexus 7k

rakesh nair
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

rakesh nair
Level 1
Level 1

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
****************************************************

View solution in original post

3 Replies 3

rakesh nair
Level 1
Level 1

Can anyone please help

nawir
Level 1
Level 1

-recreate ssh key
#no feature ssh
# ssh key rsa 2048 force
# feature ssh

rakesh nair
Level 1
Level 1

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
****************************************************