Friday 27 June 2014

error-pam-authentication-error-for-root-when-trying-to-ssh-to-freebsd-server-as-root

By default ssh is disabled in Freebsd and work around is shared my one of my posts, http://www.zyraxtech.com/2014/06/permission-denied-keyboard-interactive-authentication/ :
However We faced an issue with one of our old server who’s ssh was configured, by one of the lines were changed mistakenly which caused following error:
error: PAM: authentication error for root from 192.168.XXX.XXX
following lines were checked and changed:
PermitRootLogin yes 
PasswordAuthentication yes 
AllowUsers vht
to
AllowUsers root
NOTE: allowuser line was mistakenly changed.
Hope this helps !

No comments:

Post a Comment