I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If yes, please explain:
Description of my issue
I had to change SSH to password authentication to add a new computer’s SSH key. Then I tried changing it back, but it still shows a password prompt. It even shows a password prompt for users that aren’t in the admin group.
$ sudo yunohost settings set security.ssh.password_authentication -v no
[sudo] password for elias:
Info: Saving the new configuration...
Success! Config updated as expected
I even restarted SSH in case that’s necessary.
$ sudo yunohost service restart ssh
Success! Service 'ssh' restarted
But then I try to login with a user that isn’t in the admin and it gets a password prompt.
No, that’s the perfectly usual behavior … this is designed to prevent attackers from easily guessing what username exist on a system, same reason why usually when you try to login on a website and your mistype your password, the website will display the same message as if you mistyped the login (something like “The crendentials are incorrect”, not explicitly “The login is incorrect” or “The password is incorrect”), to not “leak” the info that your account exists (or same stuff for “reset my password”, usually the website tells you “IF this email address exists in our system, we will send a recovery password email”)