banksy-git / lidl-gateway-freedom

Freeing the Silvercrest (Lidl/Tuya) Smart Home Gateway from the cloud.
https://paulbanks.org/projects/lidl-zigbee/
GNU General Public License v3.0
211 stars 66 forks source link

firmware_upgrade.sh #26

Open sekt1953 opened 1 year ago

sekt1953 commented 1 year ago

I get this message:

Unable to negotiate with 192.168.0.231 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
sekt1953 commented 1 year ago

i have found a solution, the problem was in the firmware_upgrade.sh file

The SSH connection should look like this:

ssh -p${SSH_PORT} -oHostKeyAlgorithms=+ssh-dss root@${GATEWAY_HOST}

There are 3 lines that must be corrected

derhagen commented 1 year ago

in my case I needed:

ssh -p${SSH_PORT} -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa root@${GATEWAY_HOST}