sshd-appliance.conf 10 lignes · 538 octets
# Accès root par la clé de l'installeur uniquement ; le port 22 de l'appliance n'est pas publié.
# La clé est lue dans le dossier monté depuis l'hôte : une commande plutôt qu'un fichier, car
# StrictModes refuserait un fichier qui n'appartient pas à root (installeur lancé par un autre compte).
AllowUsers root
PermitRootLogin prohibit-password
PasswordAuthentication no
KbdInteractiveAuthentication no
AuthorizedKeysFile none
AuthorizedKeysCommand /usr/bin/cat /etc/ssh/open-iam/authorized_keys
AuthorizedKeysCommandUser nobody