01-24-2022 08:22 AM - edited 01-24-2022 08:31 AM
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
01-24-2022 08:51 AM
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.
01-24-2022 10:01 AM
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?
01-24-2022 10:16 AM
Hello,
by all means, only change anything when you are console connected. Otherwise you will lose connectivity.
01-24-2022 10:19 AM
This is a VDC number 2
Can I do the change from Vdc 1 (admin) without lose the connection?
01-24-2022 10:27 AM
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.
01-24-2022 12:31 PM
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
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