xpipe-io / xpipe

Your entire server infrastructure at your fingertips
https://xpipe.io
Apache License 2.0
2.3k stars 66 forks source link

No matching key exchange #239

Closed ALEXRUZI closed 2 months ago

ALEXRUZI commented 2 months ago

Shell opener command was unsuccessful: Unable to negotiate with 10.1.99.20 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

xpipe_err

In other SSH clients it works fine.

crschnick commented 2 months ago

Hmm, xpipe just calls your locally installed ssh client. If you click on edit for the SSH connection, on the bottom left there should be an insights button that tells you what command is getting executed.

Is there any kind of special configuration you use in your user SSH config?

ALEXRUZI commented 2 months ago

Hmm, xpipe just calls your locally installed ssh client. If you click on edit for the SSH connection, on the bottom left there should be an insights button that tells you what command is getting executed.

Is there any kind of special configuration you use in your user SSH config?

ssh "admin@10.1.99.20" -p 22 -oStrictHostKeyChecking=accept-new -oRemoteCommand=none -oNoHostAuthenticationForLocalhost=yes -T

crschnick commented 2 months ago

Does that run if you paste it into a terminal?

crschnick commented 2 months ago

You should also be able to fix this by creating a custom connection that supports one of these key exchanges like this

image

ALEXRUZI commented 2 months ago

You should also be able to fix this by creating a custom connection that supports one of these key exchanges like this

image

Thanks, this worked. And yeah I was also getting the same problem with the Win Terminal app. Also added HostKeyAlgorithms = +ssh-rsa to work.