.. _example_service_ssh_match_matchuserdisable-password-authentication: ########################################## Match User Disable-Password-Authentication ########################################## SSH connection test with match user admin disable-password-authentication configuration. Tests that SSH server correctly blocks password authentication only for the admin user while allowing it for other users. ********************************************************** SSH Connection Admin User Password Authentication Disabled ********************************************************** Description =========== SSH connection with admin user should ``fail`` because password authentication is disabled for admin user only Scenario ======== .. include:: matchuserdisable-password-authentication/sshconnectionadminuserpasswordauthenticationdisabled .. raw:: html
******************************************************** SSH Connection Test User Password Authentication Enabled ******************************************************** Description =========== SSH connection with testuser should ``succeed`` because password authentication is only disabled for admin, not for other users Scenario ======== .. include:: matchuserdisable-password-authentication/sshconnectiontestuserpasswordauthenticationenabled .. raw:: html