Hardware: VPS bought online
YunoHost version: 11.1.15
I have access to my server : Through SSH | through the webadmin |
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : Changed SSH port, disabled password SSH auth per https://yunohost.org/en/security
After the recent upgrade, I am attempting to log in via SSH with a user in the admin group, so that I can remove the legacy admin user.
When I attempt to log in, however:
ssh -i <pathToKey> -p <portNumber> <username>@<host>,
I receive the following error:
Permission denied (publickey).
I have tried :
yunohost user permission add ssh <username>
yunohost user ssh add-key <username> <keyUsedByLegacyAdminUser>
- Restarting sshd
- Restarting slapd
- Rebooting the server
I am able to login with admin@ using the same key just fine.