Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sven-bock/8d00721feef030860f1cbe4be77d322f to your computer and use it in GitHub Desktop.
Save sven-bock/8d00721feef030860f1cbe4be77d322f to your computer and use it in GitHub Desktop.
openssh does not accept dss key type
#Error from /var/log/auth.log upon ssh login when ssh key is not accepted:
userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth]
sudo nano /etc/ssh/sshd_config
#add this line
PubkeyAcceptedKeyTypes=+ssh-dss
#save and close
#reload service
sudo service sshd reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment