Hardware: VPS bought online running Debian 10 YunoHost version: 4.3.3 I have access to my server : Normally through SSH. Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : No.
Description of my issue
Hi! I was trying to go through and follow the documentation on Security | Yunohost Documentation and ran into a bit of an issue. I followed all the steps on that page, but by the end was unable to log in. I used the “id_rda.pub” key to attempt to log in with “username@my_yunohost_server”, but after it asked me for a password and when I entered the password for my normal ssh user account - it said it was invalid. I’m not really sure if I’m posting this in the correct category, so I apologize in advance if I’m not.
I’m not sure if this is relevant, but I’m using mobaxterm to ssh into my server rather than a command line. Regardless I do remember adding a passphrase when it asked me, although the issue now is that I’m locked out of my server - Is there any way to get back in and fix the issue without resetting it?
I just tried all my passwords, it’s very strange because I can access SSH - but it’s like none of my passwords work. I did install webmin, I was wondering if you knew any way to recover access that way?
Yeah, I’ll go find a way to fix that - then get back to the issue at hand here. I also just broke a corporate domain’s dns server today - so I’ll just uh let another person handle that then get back to you here.
Hi, so after reinstalling yunohost- I got locked out almost immediately of the root account without any action on my part. Is there a way to prevent this? I also had a separate user account which also locked me out.
Try with the admin user. You have probably answer “yes” during the yunohost installation script to replace the SSH configuration, by the yunohost ssh configuration. The new configuration (applied just after the post-installation) allows you to log in with admin, but not with root.