Disable ssh auth by keys

Usually all disable ssh login with password only.
I’m asking about reverse situation.
Does sshd_config allow to disable authentication with keys only?

Answer

http://www.manpagez.com/man/5/sshd_config/

PubkeyAuthentication
         Specifies whether public key authentication is allowed.  The
         default is ``yes''.  Note that this option applies to protocol
         version 2 only.

Attribution
Source : Link , Question Author : Rob , Answer Author : ceejayoz

Leave a Comment