Forum / General Discussions / Prevent password authentication with NX protocol and key-based authentication / Reply To: Prevent password authentication with NX protocol and key-based authentication
March 20, 2014 at 13:29
#2746
adp
Participant
Hello.
This can be achieved by editing server.cfg and setting the EnablePasswordDB key to ‘1’.
This will set the server to allow password authorization only for users that are in server’s password DB. Since there will be no user in the database, no one would be granted the privilege of password login.
Key-based authentication will still work.