What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.39
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
My Yunohost is set up to only allow login from machines with known SSH keys. I can log in to Yunohost via SSH on my main machine, but now I want to add my laptop, but when I try to log in I get “Permission denied” before it even asks me for the passphrase for the public key. Here’s what I did to add the laptop:
- Logged in via SSH on my main machine
- Created a keypair on my laptop with ssh-keygen -t rsa -b 4096
- did yunohost user ssh add-key <my-public-key*>
- Restarted the server
- For the public key, I tried using the full text of the public key at first, but that ended up with Yunohost giving “unknown argument” errors. It ended up accepting the key when I copied from just after “ssh-rsa” to part including the “==”
Any ideas how to troubleshoot this?
Thanks!
Share relevant logs or error messages
** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to “store now, decrypt later” attacks.
** The server may need to be upgraded. See OpenSSH: Post-Quantum Cryptography
MYUSERNAME@MY.YUNOHOSTDOMAIN.TLD: Permission denied (publickey).