I am trying to start a system (Hadoop, but that should not matter much for this question), and need to be able to ssh to localhost. I do this on windows with cygwin. The cygwin SSHD service is running, and ssh localhost works (as does ssh username@localhost). However, when I do, it says:
Could not chdir to home directory : No such file or directory mkdir: cannot create directory `': No such file or directory could not be created. Setting HOME to /tmp.
Somehow it tries to chdir to an directory with an empty name, which fails. However, I do not see why it would do that. The /home/username folder exists like it should, and is accessible after logging in over ssh.
Any pointers on where ssh would get the empty folder name from? (some configuration I don't know about maybe?).
Thanks in advance!