Prevent password authentication with NX protocol and key-based authentication

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2741
    Avatarsebjames
    Participant

    Hi there,

    My customer has set up key based authentication for the nx protocol and can’t work out how to prevent users from using username/password authentication.

    Is this possible?

    cheers,

    Seb James

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

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.