[Bug 1200181] New: SELinux permission issue when provisioning SSH keys
http://bugzilla.opensuse.org/show_bug.cgi?id=1200181 Bug ID: 1200181 Summary: SELinux permission issue when provisioning SSH keys Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: paul@pbarker.dev QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On a fresh installation of OpenSUSE MicroOS, I added my SSH keys to authorized_keys for the root user as follows: # mkdir .ssh # curl https://github.com/pbrkr.keys > .ssh/authorized_keys However, I was not able to login as root using the keys listed in this file after running the above commands. After some investigation I found that the issue was that sshd was unable to read /root/.ssh/authorized_keys. To fix this, I had to relabel the relevant directory: # restorecon -R -v /root/.ssh The relabeling should not be necessary. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com