2
I've been following a tutorial on youtube here: SFTP Setup
And I've been following all the steps exactly but I've run into a problem in Cygwin while trying to install SSH.
Upon opening the Cygwin64 Terminal I typed the following
$ export CYGWIN='ntsec tty'
$ chmod 0755 /var
$ ssh-host-config
Then I get to the questions
The first question is Should StrictModes be used? (yes/no)
where I type no
. The next question is Should privilege separation be used? (yes/no)
where I type yes
.
Then I get the following error/warning (Regardless of whether I select no
or 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
I'm not sure how to resolve these errors! What should I do?
Same problem still exists when I say
yes
toShould StrictModes be used? (yes/no)
– Barry Michael Doyle – 2016-07-28T23:51:45.7631please provide the output of
$ /usr/bin/cygrunsrv -VQ sshd
.You can also followhttps://cygwin.com/problems.html
and ship there the cygcheck.out – matzeri – 2016-07-29T04:41:26.943Nevermind, I'm sorry it did actually work, thanks man you're a life saver! – Barry Michael Doyle – 2016-07-29T08:16:17.437