How do you set the HOME path with SSH on Cygwin?

5,870

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

Share:
5,870

Related videos on Youtube

Ken Sykora
Author by

Ken Sykora

Updated on September 18, 2022

Comments

  • Ken Sykora
    Ken Sykora over 1 year

    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