Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SSH key login setup fail on v6.11.5

Featured Replies

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?

Solved by Andiroo2

  • Author
  • Solution

Fix it.  I had to edit this file and manually add my public key:

 

/etc/ssh/root.pubkeys

 

  • 4 weeks later...
  • Author

Further to this, it did not persist after a reboot, so I saved a copy of the root.pubkeys file on the flash and added a command to the go file to copy it into the /etc/ssh/ folder on boot.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.