DuzAwe Posted January 20 Share Posted January 20 (edited) I have run chmod etc. This is 6.11.5 so the directories are sym-linked to the usb. I have everything set up and working across my other homelab parts and unirad used to work. It has suddenly stopped. Diag attached. Jan 20 10:22:38 TheLibrary sshd[22133]: Authentication refused: bad ownership or modes for directory / Jan 20 10:22:38 TheLibrary sshd[22133]: Failed publickey for root from 192.168.0.50 port 49714 ssh2: ED25519 SHA256:em7iHjwbc1OMAS6wvoCqLmHqWGv7mJR08lwu5zXtSuQ Jan 20 10:22:38 TheLibrary sshd[22133]: Postponed keyboard-interactive for root from 192.168.0.50 port 49714 ssh2 [preauth] Jan 20 10:22:39 TheLibrary sshd[22133]: Connection closed by authenticating user root 192.168.0.50 port 49714 [preauth] thelibrary-diagnostics-20230120-1032.zip Edited January 24 by DuzAwe Quote Link to comment
Solution DuzAwe Posted January 24 Author Solution Share Posted January 24 docgyvers SSH Plugin solve my issues, Not fully sure why but I'm not going to look a gift horse in the mouth. 1 Quote Link to comment
rhodo Posted February 12 Share Posted February 12 Just writing to confirm the experience of DuzAwe -- Docgyvers SSH plugin solves the issue of not being able to ssh into unraid v6.11.1 using key exchange. I have a number of scripts that rely upon being able to ssh into unraid without a password. These worked fine until upgrading unraid. I tried all the fixes I could find in these forums without success. The unraid syslog.txt gave the error: Authentication refused: bad ownership or modes for directory / Weird, since I had already set permissions to 700 for the .ssh directory and 640 for the .ssh/authorized_keys directory as part of my troubleshooting the issue. Anyhow, the plugin places an SSH icon in Settings > Network Services. Just open it and hit "Apply" without changing anything. Now everything just works. 2 Quote Link to comment
Recommended Posts
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.