-
As the title suggests, I'm stuck trying to SSH into the camera after setting up pub and private keys. This command: ssh -i /config/.ssh/privatekey.ppk root@[myipaddress] bounces back the denial. Any ideas what could be the issue with my generated keys? (did the puttygen method and saved the private key as openSSH) Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 7 replies
-
ssh commandline wont read a ppk file, try saving the key as a .pem. I believe putty doesnt do any weird encoding so a simple rename or move should work :). |
Beta Was this translation helpful? Give feedback.
-
I get access denied as well. I had generated my public key way before (done this many times on other mac/linux systems). I tried copying in the public key a few different ways and get "Permission denied (publickey)". In the simplest form, even doing a cat ~/.ssh/id_rsa.pub >> /Volumes/WYZE/wz_mini/etc/ssh/authorized_keys gives the same error when trying to connect (from macos Monterey). I also tried doing this from a Linux VM, different ssh pub/private keys and still had the same problem. Interestingly, after trying to connect, the file system in the ssh folder will create a dropbear_ed25519_host_key. (identifier in the middle changes depending on the host trying to connect). |
Beta Was this translation helpful? Give feedback.
-
I don't think the terminal ssh command supports .ppk, it needs to be converted (renaming is not enough) Also try running ssh command in verbose mode to see debug messages |
Beta Was this translation helpful? Give feedback.
-
I am wondering if there's another problem since I'm using standard ssh-keygen on my Mac. I also tested on a linux system and it didn't like the authorized key that i copied in from my id_rsa.pub file. |
Beta Was this translation helpful? Give feedback.
-
questions: |
Beta Was this translation helpful? Give feedback.
-
I am on a Wyze V3. Camera is a few days old and works fine. I've tried reformatting twice (dos fat32). |
Beta Was this translation helpful? Give feedback.
-
things to check: https://serverfault.com/questions/854208/ssh-suddenly-returning-invalid-format |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve the authentication. Instead of adding the public key info to the authenticatedkeys file, i replaced that file entirely after using "ssh-keygen -t ed25519" to spit out my new pair of keys. These worked right out of the gate. I was then running into the RTSP stream only spitting out audio, and after ditching the beta RTSP firmware for the Wyze stock, this too was resolved, in case anyone missed that in the latest 6/19 readme. |
Beta Was this translation helpful? Give feedback.
I was able to resolve the authentication.
Instead of adding the public key info to the authenticatedkeys file, i replaced that file entirely after using "ssh-keygen -t ed25519" to spit out my new pair of keys. These worked right out of the gate.
I was then running into the RTSP stream only spitting out audio, and after ditching the beta RTSP firmware for the Wyze stock, this too was resolved, in case anyone missed that in the latest 6/19 readme.