cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1025
Views
0
Helpful
6
Replies

Error after upgrade Nexus 7706- dcos_ssh: Could not resolve hostname

Pegasusxl666
Level 1
Level 1

Hi everyone

 

I  just upgraded the Nexus 7706 from version 8.2.1 to 8.2.6 successfully but I noticed that after that I can't use the SSH service. Previously I used this command to connect to other switches ssh   amendoza@192.168.1.200 SOurce-IP 10.10.50.1 right now using it for any switch I get the error message: "dcos_ssh: Could not resolve hostname : host nor service provided, or not known"
Could you help me what may be happening or if someone has already gone through this, thank you very much

 

6 Replies 6

Hello,

 

try and toggle the feature ssh:

 

--> no feature ssh

--> feature ssh

 

What SSH keys do you have configured (e.g. IETF SECSH Format/OpenSSH Format) ?

 

Try and create a new user (or delete the old user and recreate it) with the respective SSH key.

Hi @Georg Pauwen 

 

This is the actual config ssh of Nexus 7706

 

show ssh server

"ssh version 2 is enabled"

show ssh key

rsa Keys generated:Fri Nov 17 21:31:14 2017

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDQHKoMBXTKYYBlAIRud4s0s04r9yx67t4IcAflsmIGFEyyIxcIWRshX9X8bAQbuNiqc753ws4ysVx
Gb8D9ii5K+5HEKyJHaMveH27/Qad6EsZ7Lnt/+lZciskk+AIpHbUIZmRbCnxJM53P+YQ1ae1o/RaMgQUClDc9tggWBp6aVw==

bitcount:1024
fingerprint:
SHA256:M163jJ5pfRqLy6CtbwOLiDfXawGfcRFQhiDPq5D1GqA

 

If I disable the ssh feature will I lose the current ssh connection?

 

Hello,

 

by all means, only change anything when you are console connected. Otherwise you will lose connectivity.

This is a VDC number 2

 

Can I do the change from Vdc 1 (admin) without lose the connection?

Hello,

 

only change anything when you are connected to the console of the Nexus. Any remote connection might get terminated when you change the keys.

Hi @Georg Pauwen 

 

I disabled and enabling with new keys of SSH but the same error, do you have another suggestion?

 

 

(config)# ssh key RSa 2048 force
deleting old rsa key.....
generating rsa key(2048 bits).....

 

feature ssh

 

# ssh alvarez@10.10.22.100 source-ip 10.11.183.130
dcos_ssh: Could not resolve hostname : host nor service provided, or not known

 

 

Thanks

Review Cisco Networking for a $25 gift card