Debian – Autoriser le compte root en ssh

novembre 21, 2015 1:06 Publié par Laissez vos commentaires

Par défaut le compte root n’est pas autorisé à se connecter en ssh.
Vous pouvez passer outre cette restriction en modifiant le fichier /etc/ssh/sshd_config :

Commentez la ligne PermitRootLogin without-password et ajoutez PermitRootLogin yes

nano /etc/ssh/sshd_config

#PermitRootLogin without-password
PermitRootLogin yes

Redémarrez le service ssh

/etc/init.d/ssh restart

C’est tout bon!

Classés dans :

Cet article a été écrit par admin

Laisser un commentaire