Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revision 2 of the gateway #33

Open
Dexruus opened this issue Feb 10, 2023 · 2 comments
Open

Revision 2 of the gateway #33

Dexruus opened this issue Feb 10, 2023 · 2 comments

Comments

@Dexruus
Copy link

Dexruus commented Feb 10, 2023

Less of an Issue and more of an "advice"; Revision 2 of the Lidl gateway (rounded edges) is the "exact same". Its firmware just has ssh disabled. You need to TTL onto the device and start its dropbear ssh server with;

dropbear -p "port"

From thereon you are able to ssh into the device with your given root until next restart.

Its recommended to follow the tutorial part in which you set the ssh port to "always on" and "port 22":

if [ ! -f /tuya/ssh_monitor.original.sh ]; then cp /tuya/ssh_monitor.sh /tuya/ssh_monitor.original.sh; fi

echo "#!/bin/sh" >/tuya/ssh_monitor.sh

ALSO FOR NOOBS LIKE ME;

IF:

Unable to negotiate with "ip.address" "port" : no matching host key type found. Their offer: ssh-rsa,ssh-dss

USE:

ssh -o HostKeyAlgorithms=+ssh-rsa "ip-address" -p "port"

@bmix
Copy link

bmix commented Mar 20, 2024

Would you mind uploading a photo of those parts of the device where one could draw conclusions as to how to open that darn thing? How did you get it to open?
Thanks!

I have the rev 2, but all instructions help is for rev 1.

@GAS85
Copy link

GAS85 commented Apr 1, 2024

Its firmware just has ssh disabled.

Not really, it is simply running on port 2333, this is not standard port of ssh. So, to connect you have to run command (there is no space in -p2333):

ssh -o HostKeyAlgorithms=+ssh-rsa root@<ip-address> -p2333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants