SSH key login setup fail on v6.11.5


Andiroo2
Go to solution Solved by Andiroo2,

Recommended Posts

Trying to set up SSH keys between Mac OS and Unraid.  The intent is to log into Unraid from MacOS.

 

I followed a few different guides here but always get to the same result...the login fails and falls back to password.  I get this in the Unraid log: 

 

Dec 21 09:26:41 Tower  sshd[29312]: Connection from 192.168.1.14 port 53913 on 192.168.1.10 port 22 rdomain ""
Dec 21 09:26:41 Tower  sshd[29312]: Failed publickey for root from 192.168.1.14 port 53913 ssh2: ED25519 SHA256:<blah blah blah>
Dec 21 09:26:41 Tower  sshd[29312]: Postponed keyboard-interactive for root from 192.168.1.14 port 53913 ssh2 [preauth]
Dec 21 09:26:44 Tower  sshd[29312]: Connection closed by authenticating user root 192.168.1.14 port 53913 [preauth]

 

I have created ED25519 keys and used ssh-copy-id to copy them to the server, but I get this in the output there which seems different from others: 

 

Number of key(s) added:        1

 

Some people get 2 there, not sure if that's relevant.  

 

I have persisted the changes to the flash following another guide as well.

 

I have verified that the public key is showing correctly in my Root user settings in the GUI.  

 

What else can I try here?

Link to comment
  • 4 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.