Bug#227340: ssh: PermitRootLogin forced-commands-only is broken
> If this option is set to ``forced-commands-only'' root login with
> public key authentication will be allowed, but only if the
> command option has been specified (which may be useful for taking
> remote backups even if root login is normally not allowed). All
> other authentication methods are disabled for root.
You haven't shown us root's authorized_keys file, but I suspect you
didn't actually specify a command correctly in that file?
Matthew
--
Rapun.sel - outermost outpost of the Pick Empire
http://www.pick.ucam.org
Reply to: