I recently came across the following error in the auth.log file of an ubuntu server.
Sep 11 11:44:34 unix sshd[5877]: userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth]
I had configured passwordless ssh from a solaris machine to this server using DSA keys.
I later came to know that ubuntu allows passwordless ssh configuration for RSA keys only by default.
The fix for this is adding the following line /etc/ssh/sshd_config file and restarting the ssh service:
PubkeyAcceptedKeyTypes=+ssh-dss
I know this is a very short article but I found it a point worth sharing.
Sep 11 11:44:34 unix sshd[5877]: userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth]
I had configured passwordless ssh from a solaris machine to this server using DSA keys.
I later came to know that ubuntu allows passwordless ssh configuration for RSA keys only by default.
The fix for this is adding the following line /etc/ssh/sshd_config file and restarting the ssh service:
PubkeyAcceptedKeyTypes=+ssh-dss
I know this is a very short article but I found it a point worth sharing.
Thanks, It helped me
ReplyDeleteThank you very much
ReplyDeleteThank you very much
ReplyDelete