Définir un mot de passe root
1 2 3 4 | sudo passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
Autoriser la connexion SSH en Root
Modifier le fichier suivant : /etc/ssh/sshd_config
Commenter la ligne suivante :PermitRootLogin prohibit-password
1 | PermitRootLogin prohibit-password |
Ajouter en dessous :PermitRootLogin yes
1 | PermitRootLogin yes |
Redémarrer le service SSHsudo service ssh restart
1 | sudo service ssh restart |
Vous devriez maintenant pouvoir vous connectez en root avec Putty et WinSCP.