Skip to content

Instantly share code, notes, and snippets.

@sarkrui
Created February 6, 2024 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarkrui/0f087dc60d116b2fa0673a94a5db3179 to your computer and use it in GitHub Desktop.
Save sarkrui/0f087dc60d116b2fa0673a94a5db3179 to your computer and use it in GitHub Desktop.
sshd: no hostkeys available -- exiting.

sshd: no hostkeys available -- exiting.

sudo ssh-keygen -A
sudo service ssh --full-restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment