cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
911
Views
1
Helpful
8
Replies

IOS XE on CSR Recommended Code Allways On SSH not working

szglvs
Level 1
Level 1

Hello

When attempting to ssh to sandbox-iosxe-recomm-1.cisco.com from ubuntu 22.04, I am receiving the following error:
Unable to negotiate with 131.226.217.149 port 22: no matching key exchange method found.

8 Replies 8

@szglvs try

 ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 admin@sandbox-iosxe-recomm-1.cisco.com

HTH

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thank you for your support.
Unfortunately that did not work, I am getting the same error message;
Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1

No problem. Open a terminal windows and execute the following;

sudo nano /etc/ssh/ssh_config
ENTER YOUR PASSWORD

 

Then copy/paste the following on the end after Host *

KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

Should look like this

Host *
    SendEnv LANG LC_*
HostkeyAlgorithms ssh-dss,ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hello Thank you for your support.

It still is not working

Is there a new error? There was a post by admin here --> HERE which said work was taking place

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

no same error

Could be due to work being done, i dont get an error - but cannot access the device all the same.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Alexander Stevenson
Cisco Employee
Cisco Employee

Hi @szglvs,

 

When that one is down or locked, as it is now, I use the alternate, and vice versa:

IOS XE on CSR Latest Code AlwaysOn1

 

https://devnetsandbox.cisco.com/RM/Diagram/Index/7b4d4209-a17c-4bc3-9b38-f15184e53a94?diagramType=Topology

 

  • CSR1000v Host: sandbox-iosxe-latest-1.cisco.com
    • SSH Port: 22
    • NETCONF Port: 830
    • gRPC Telemetry Port: 57500
    • RESTCONF Port: 443 (HTTPS)
  • Username: admin
  • Password: C1sco12345