You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. I'm getting an error when setting up remote. The command to test sshd setup produces an error:
pi@raspberrypi:~ $ sshd -t && echo 'looks good' || echo 'sshd config is invalid'
sshd: no hostkeys available -- exiting.
sshd config is invalid
I have added the ssh key to /home/pitunnel/.ssh/authorized_keys and have modified the permissions per the instructions. Is there anything else I need to so? /home/pitunnel/.ssh/authorized_keys looks like this:
ah i see the confusion. this is meant to be run on the remote machine. that's the machine you're keeping the persistent tunnel to. seems like you're running the command on the pi itself. moreover, you're invoking that command as a regular user, which means you don't have access to the machine's host keys (those are root-readable only).
Hey. I'm getting an error when setting up
remote
. The command to test sshd setup produces an error:I have added the ssh key to
/home/pitunnel/.ssh/authorized_keys
and have modified the permissions per the instructions. Is there anything else I need to so?/home/pitunnel/.ssh/authorized_keys
looks like this:Is this correct?
The text was updated successfully, but these errors were encountered: