-
Hi, Following guide for v3 and have watched video on ssh key authentication but I continue to receive connection refused. Can someone let me know which of my steps are wrong ? Copied sd root folder to sd card , so as soon as you click on drive it has wz_mini folder and factory file. Created SSH key (did not notice any other relevant steps on guide to follow) Copied entire public SSH key I created (including part that says ssh rsa at the beginning and one that includes pc name at end) underneath where it says place authorized keys below used putty with ip address and default ssh port 22 used terminal with computer ssh (pc username - one listed under home folder)@ip address, ssh root@ipaddress and I never get the enter passphrase note. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 31 replies
-
Do you actually receive a response? |
Beta Was this translation helpful? Give feedback.
-
Are you using Windows? Did it default to adding CR/LF characters in your key? Make sure all the key data is only one line, not multiple in the key file on the camera. |
Beta Was this translation helpful? Give feedback.
-
CR=carriage return LF=line feed. If you look at the key file that you copied to the SD card and it has multiple lines, then you probably have CR/LF characters in the file. It wraps a long text line into multiple text lines. Linux doesn't do that. If it is multiple lines, then it won't work. You should have one, long line in the file with all the information for the key. For example: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx How did you copy the key into the file on the sd card? |
Beta Was this translation helpful? Give feedback.
Ok. Pull the SD card and pop it into something for editing the wz_mini.conf file to at least enable the web server on the camera..., (assuming the camera is even seeing the SD card).Then see if the camera web server is accessible by simply entering the IP address into a browser. Or..., just do a port scan on the camera IP address to see if port 22 is open.
There should also be additional files now present on the SD card for examination, but that's a whole other bag o' snakes better left for another discussion.