SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have no problem when logging in as a normal user with no password, it's the root key that seems to be giving me the issue. I've installed quite a few machines and this is the first time I am seeing this issue.
Here's the output from the server:
Ciphers aes128-ctr
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
X11Forwarding yes
Subsystem sftp /usr/libexec/sftp-server
I don't know what version of OpenSSH Slackware 14.0 comes with, but I do know substantial changes were introduced with OpenSSH 6.6 or thereabouts. Have you perchance created a key on a newer Slackware that is incompatible with the OpenSSH that comes with 14.0?
I just saw this. It is not complaining about key file permission, but the /root directory itself.
What does ls -ld /root show?
If not 710 then make it 710.
Wow. It wasn't the permissions, it was the ownership of the directory /root. It wasn't owned by root! Ugh. I don't even know how that happened. I was so focused on permissions I didn't pay attention to the ownership.
Thank you and everyone for your help. It's all working good now!
Wow. It wasn't the permissions, it was the ownership of the directory /root. It wasn't owned by root! Ugh. I don't even know how that happened. I was so focused on permissions I didn't pay attention to the ownership.
Thank you and everyone for your help. It's all working good now!
Glad that worked, but I am not so sure that you are finished yet!
I would seriously investigate how/who/when ownership of the root directory was changed!
If this is an internet accessible server especially, that is a big red flag on fire!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.