May 14, 20251 yr Hey, since upgrading to 7.1.2 I have problems logging in via ssh. I use a publickey, which I have previously entered under Users -> root -> SSH authorized keys. Under Unraid 7.0.1 the authentication has worked without any problems. Now I seem to get a public and private key mismatch.Under Windows I have already checked if I can verify the private and public key. The following commdand executed under windows returns me exactly the publickey that is entered under the authorized keys:ssh-keygen.exe -y -e -f <private_key> The following can be seen in the logs:May 14 15:17:43 PurpleGravity sshd-session[3945698]: Failed publickey for root from 192.168.0.10 port 64792 ssh2: ED25519 SHA256:<another key>"Another key" is neither the public- nor privatekey fingerprint I use for authentication I have also tried to create a fresh key pair again, unfortunately the same error occurs, also with a mismatch Edited July 7, 2025Jul 7 by purplehexagon
May 15, 20251 yr I'm having the exact same issue and cannot figure out why it is happening, I think that it started when I upgraded to 7.1.0rc<something>. I already tried to put a new key, it keeps refusing the key.
May 20, 20251 yr I don't know if its related but I can drop it here because I couldn't find anything relevant online. Since the 7.1 update, my solid explorer app on my Android phone would no longer connect using sftp to my Unraid server. It turned out that Unraid changed/updated the accepted ciphers on the recent version. So adding these 2 lines to sshd_config solved the issue: Ciphers aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected] KexAlgorithms curve25519-sha256,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 Then restart the SSH service: /etc/rc.d/rc.sshd restart To persist the change on reboot, make a copy of the file and put it inside: /boot/config/ssh
May 23, 20251 yr I also had problem logging in with SSH after updating from 7.0.1 to 7.1.2.For me it turned out I was missing an /etc/rc.d/rc.sshd restartafter my plugin-script had copied my personalized version of the sshd_config to /etc/ssh. Apparently things ran in a different order before, or for some other reason I didn't have to restart th sshd before .
May 26, 20251 yr Author Solution Well, I'm really sorry. For me it was just a typo in /etc/ssh/sshd.config where I had written "autorized_keys" without an "h".I will mark it as resolved.
September 4, 2025Sep 4 On 5/20/2025 at 11:28 AM, m33ts4k0z said:I don't know if its related but I can drop it here because I couldn't find anything relevant online.Since the 7.1 update, my solid explorer app on my Android phone would no longer connect using sftp to my Unraid server. It turned out that Unraid changed/updated the accepted ciphers on the recent version. So adding these 2 lines to sshd_config solved the issue: Ciphers aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected] KexAlgorithms curve25519-sha256,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256Then restart the SSH service: /etc/rc.d/rc.sshd restartTo persist the change on reboot, make a copy of the file and put it inside: /boot/config/ssh My SSH-Service won't start as soon as I add those two lines to the config. Im using 7.2. Beta 2, does someone know if it has to be done somehow else?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.