I have a laptop with windows 8. I'm trying to setup SSH from this laptop to a windows 2012 server via Cygwin64. I followed the steps as described here.However, when I am at the step: ssh-user-config, I get the error: ERROR: There is no home directory set for you in /etc/passwd.<br>ERROR: Setting $HOME is not sufficient!In my Cygwin64 installation folder, I see a directory home with a user that is copied from the windows user I'm logged in with (say this user is nifty). I also see a file cygwin64/etc/passwd - but in the file my windows user (nifty) is not present. The only line I see there is:[computername]+sshd:*:197610:197121:[computername]\sshd,S-1-5-21-1837826546-2281981055-3577963604-1002:/var/empty:/bin/falseI have tried to manually add the passwd file, inserting: nifty:*:1:1:/home/nifty:/bin/bash/I also tried to add: [computername]++sshd:*:1:1::/home/swuyts:/bin/bashWhen googling, the only thing I come up with is try to run this command: mkpasswd -l -u >> /etc/passwdI noticed this adds some accounts present in windows (such as the administrators group, system account and the created cyg_server from the step above), but it doesn't help me in letting me execute ssh-user-config. Can somebody explain me how to proceed?
Installing SSH via Cygwin
ssh;cygwin