Reply To: Prevent password authentication with NX protocol and key-based authentication

Forums / General Discussions / Prevent password authentication with NX protocol and key-based authentication / Reply To: Prevent password authentication with NX protocol and key-based authentication

#2746
Avataradp
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.