No puedo iniciar sesión como root en mi mac mini desde una computadora Linux

Desde mi escritorio Linux (Fedora), intento iniciar sesión como root en mi computadora Mac mini.

$ ssh root@my-mac-mini
Connection closed by 10.0.1.12

10.0.1.12 es la dirección IP de mac mini.

En el archivo de registro /var/log/system.log, veo:

Apr 30 11:57:05 my-mac-mini.my-domain.com sshd[8903]: fatal: Access denied for user root by PAM account configuration [preauth]

Con más detalle:

$ ssh -v root@my-mac-mini
OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/john/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connecting to my-mac-mini [10.0.1.12] port 22.
debug1: Connection established.
debug1: identity file /home/john/.ssh/id_rsa type 1
debug1: identity file /home/john/.ssh/id_rsa-cert type -1
debug1: identity file /home/john/.ssh/id_dsa type 2
debug1: identity file /home/john/.ssh/id_dsa-cert type -1
debug1: identity file /home/john/.ssh/id_ecdsa type -1
debug1: identity file /home/john/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2
debug1: match: OpenSSH_6.2 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 78:9b:06:12:bc:c8:15:56:de:38:a9:7b:45:07:c2:26
debug1: Host 'my-mac-mini' is known and matches the RSA host key.
debug1: Found key in /home/john/.ssh/known_hosts:43
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/john/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: read PEM private key done: type RSA
Connection closed by 10.0.1.12

en /etc/sshd_config, tengo

PermitRootLogin yes

¿Cómo puedo arreglar esto?

¿Puede iniciar sesión como root localmente (desde la Terminal)? ¿ Puede iniciar sesión en otro usuario a través de ssh? ¿ Reinició sshddespués de establecer PermitRootLoginen yes?
root está habilitado para que pueda iniciar sesión como root localmente. También puedo iniciar sesión como otro usuario a través de ssh. Reinicié sshd con launchctl (sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist).

Respuestas (1)

Tuve un problema similar que se resuelve con la siguiente respuesta :

Verifique la configuración de inicio de sesión remoto en Preferencias del sistema> Compartir> Inicio de sesión remoto

Específicamente, ¿quién puede iniciar sesión?