Problem with SSH

bill-lancaster

New Member
Joined
Mar 1, 2023
Messages
3
Reaction score
1
Credits
29
This is my first post here and have have searched for this site for an answer without success.
I have an Arduino device on my wifi network and I wish to download data from it's SD card to a file on a PC on the same network.
I was running ssh code for sometime but after a system rebuild I get the download started again.
This command in Terminal:-
:~$ ssh [email protected]
Produces the following error:-
Unable to negotiate with 192.168.1.138 port 22: no matching key exchange method found. Their offer: diffie-hel
lman-group1-sha1,diffie-hellman-group14-sha1
The PC is running Kubuntu 22.04

Any advice would be welcome
 


This type of error happens while the encrypted channel is being set up. If your system and the remote system don't share at least one cipher, there is no cipher to agree on and no encrypted channel is possible
Code:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected]
Then regenerate Key
Code:
ssh-keygen -A
Then reboot

also look here - https://www.openssh.com/legacy.html
 
Thanks osprey, that link showed several possible solutions, I tried most of them but still get:-
Unable to negotiate with 192.168.1.138 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Also Lord Boltar's suggestion which is covered in the link.

Some more information. I have an Arduino Yun processor running on my wifi network. I've had a process reading the sd card on the Yun for a long time then after installing Kubuntu 22.04 the ssh process was no longer working.
Looking back at how I set up the ssh process, either I stumbled on the right settings or something has changed.

I can ping the Yun OK. I have seen somewhere that the Yun has 'legacy ssh'. I don't know what that means but it may help.
 

Members online


Top