06-11-2018 01:32 AM - edited 03-08-2019 03:19 PM
Hello experts,
We arenot able to ssh to our new core switches:
Switch: 3850
Software version: 16.3.5b
Error:
350259: Jun 11 08:23:48: %SSH-3-NO_MATCH: No matching kex algorithm found: client diffie-hellman-group1-sha1 server diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
How can we solve that issue?
I saw there is a bug but no resolution : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvc96144/?rfs=iqvred
Thanks in advance.
06-11-2018 02:56 AM
Hi,
Have you tried using a 1024 bit key? You can use the following command to generate 1024 bit key:
crypto key generate rsa general-keys modulus 1024
Thanks
John
06-13-2018 05:29 AM
Reducing the key to 1024 didn't work in this scenario.
06-14-2018 02:29 AM
still not working....
12-15-2022 01:49 PM
or even try lower , crypto key generate rsa general-keys modulus 512 works for me
06-14-2018 02:55 AM
Hello
What kind of key do you have - Have you tried deleting it and regenerating a new one ?
crypto key zeroize rsa
crypto key generate rsa general-keys
res
Paul
res
Paul
06-14-2018 03:02 AM
yes i did.....still the smae issue..
"
[SSH] Protocol Version 2 (Cisco-1.25)
[SSH] FAIL: no kex alg
[SSH] INFO: DISCONNECT"
Thanks
06-14-2018 06:06 AM
Hello,
where is the SSH coming from, that is, what are you using as client ?
06-14-2018 06:22 AM
06-14-2018 07:19 AM
Hello,
can you try and create a modulus 2048 key and then configure:
ip ssh dh min size 2048
?
Also, just to be sure, check if you have all of the below configured:
hostname myswitch (needs to be different than the default hostname)
username admin privilege 15 password 0 cisco
enable secret xxxxyyyy
!
ip domain-name yourdomain
crypto key generate rsa general-keys modulus 2048
ip ssh version 2
line vty 0 15
login local
transport input ssh
06-14-2018 08:18 AM
06-14-2018 09:47 PM - edited 06-14-2018 10:20 PM
I tried, still not working!!!!
Update: SSH is working on putty but not on ZOC terminal emulater!!
Thanks again.
06-14-2018 09:56 PM
Hi,
What ssh client are you using?
Thanks
John
07-25-2018 03:06 AM
Hi,
try to add 3des-cbc algorithm in ip ssh server command for input ssh sessions & 3des-cbc algotithm in ip ssh client command for ouput ssh sessions
regards
09-13-2018 07:28 AM
I am having this same issue connecting with SecureCRT 5.0.5 build 1078. I can however SSH -l from their router to the same switch without issue. We just updated Prime to 3.1 and the sync is basically reporting it to cannot connect to pull the config. I did try redoing the crypto keys to 1024 and it did not change the issue. I am going to try to see if my newer version of SecureCRT does the same thing.
Brent
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