Skip to content

sshd: no hostkeys available on remote #2

Description

@thomarse-ef

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:

ssh-ed25519 <long_string_of_characters_and_numbers> pi@raspberrypi

Is this correct?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions