I have a bunch of users that I'd like to set the default HOME directory for so that when they log into SSHD running on Cygwin on Windows Server 2008, they get set at a specific directory (C:\sandboxsites\$USER)

Any idea on how you can do this with Cygwin/SSHD?

I followed these instructions to setup SSHD on Windows http://lifehacker.com/205090/geek-to-live--set-up-a-personal-home-ssh-server


Set their home directory in /etc/passwd (see this answer to a somewhat similar question on Stack Overflow).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.