January 26, 2005

OpenSSHd + Cygwin on Windows XP    [ Software ]

Found a good HOWTO-style article on how to set up OpenSSH to run as a daemon under Cygwin for Windows XP:

http://ist.uwaterloo.ca/~kscully/SSH/CygwinSSHD_W2K3.html

The quick outline is:

  • Install Cygwin, make sure you include the OpenSSH package since it's not included in the default install
  • Run '# mkdir -p /home/$username' and then edit /etc/passwd accordingly to create a sane home directory structure
  • Run '# ssh-host-config' to generate host keys, add an 'sshd' privsep user, and install sshd as a service
  • Run '# sc query sshd' to verify that the service is running
  • Run '# ssh-user-config' as necessary to generate private/public SSH keys for users if desired
Posted by edobbs at January 26, 2005 12:38 PM