J'ai suivi un tutoriel sur youtube ici : Configuration de SFTP
J'ai suivi exactement toutes les étapes mais j'ai rencontré un problème dans Cygwin en essayant d'installer SSH.
En ouvrant le terminal Cygwin64, j'ai tapé ce qui suit
$ export CYGWIN='ntsec tty'
$ chmod 0755 /var
$ ssh-host-config
Puis j'en viens aux questions
La première question est Should StrictModes be used? (yes/no)
où je tape no
. La question suivante est Should privilege separation be used? (yes/no)
où je tape yes
.
Ensuite, j'obtiens l'erreur ou l'avertissement suivant (indépendamment du fait que je sélectionne ou non l'option no
o yes
):
*** Warning: Couldn't determine name of user running sshd service from account database!
*** Warning: As a result, this script cannot make sure that the files used
*** Warning: by the sshd service belong to the user running the service.
*** Warning: Host configuration exited with 1 errors or warnings!
*** Warning: Make sure that all problems reported are fixed,
*** Warning: then re-run ssh-host-config
Je ne sais pas comment résoudre ces erreurs ! Que dois-je faire ?