#12660: OpenSSH regression
-------------------------+----------------------------
Reporter: miqlas | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: R1/beta1
Component: - General | Version: R1/Development
Resolution: | Keywords: ssh, sshd
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------
Comment (by miqlas):
It is actually not a regression, but a feature in OpenSSH7.
The config file in /system/settings/ssh/sshd_config contains a line:
#PermitRootLogin prohibit-password
Though it commented out, it doesn't let the root user login with password.
To revert to the OpenSSH6 behavior, we need to change that line to the
following:
PermitRootLogin yes #(notice the removed hashmark at
the beginning!)
After a reboot it works, tested with the latest nightly gcc2h.
I think, we should update the https://www.haiku-os.org/guides/daily-
tasks/netservices page, as it outdated (the default install have sshd
user), to contain this information.
I need to say, i haven't tested the key-based login, but PulkoMandy told:
it works.
You can close this ticket now. Thank you guys!
--
Ticket URL: <https://dev.haiku-os.org/ticket/12660#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.