Autoriser Root via SSH

Etape 0 : Installer SSH
apt-get install ssh
Etape 1 : Aller dans le dossier /etc/ssh
cd /etc/ssh 
Etape 2 : Modifier le fichier de configuration sshd
nano sshd_config
Etape 3 : Rechercher la ligne : PermitRootLogin without-password
PermitRootLogin yes

Si la ligne débute par un #, supprimer le.

Faite CTRL+O pour sauvegarder et CTRL+X pour quitter

Etape 4 : Redémarrer le service SSH
/etc/init.d/ssh restart

 


Revision #1
Created 10 March 2024 09:24:09 by Dunnload
Updated 10 March 2024 09:25:07 by Dunnload