gtxaspec / wz_mini_hacks

wz camera mods... make your camera better.
1.32k stars 114 forks source link

SSH... #800

Open BigBobDalton opened 1 month ago

BigBobDalton commented 1 month ago

Okay, I am not new to using ssh, I have raspberry's working with my pub file but this cam just won't authorize. Not sure if dropbear has anything to do with it but I keep getting refusal to login stating Permission denied (publickey). the authorization file has my correct generated key. I even tried recreating a new pub key and adding that to the file, still it fails.

On my Raspberry's I can edit the ssh.hd file but this wz_mini doesn't appear to have that option.

Any help would be great.

Thanks.

bjs-pdx commented 1 month ago

Any chance your key file has line feeds/carriage returns in it? I had a similar problem until I realized mine did.

my-umd commented 4 weeks ago

What type of key are you using? I can only get type ed25519 key working.

BigBobDalton commented 4 weeks ago

No, my key does not have carriage returns, I even tried an empty key. Odd that my key works on every other device I have, albeit windows, linux and macOS.

Encoding is ed25519

virmaior commented 3 weeks ago

One question would be whether your camera is properly running wz_mini. can you access the web interface for wz_mini on that camera? what version of the wyze firmware are you running? is it a v2 or v3 camera?

BigBobDalton commented 3 weeks ago

yeah, I can access it via wz_mini camera is version 3.

At this point I will just keep taking out the sd-card since ssh is not working between my iMac and the camera.

virmaior commented 3 weeks ago

I had quite a bit of difficulty getting osx to use keys. There's some settings I've had to do on the security chain every time I reboot and then have to use sudo ssh <camera ip>.