Using Cygwin for a Windows SSH Server

I've found Cygwin to be the best method for setting up an SSH server on Windows. This is partly due to the need for Cygwin for other purposes (rsync, cron, shell scripts, etc).

To set it up, first install Cygwin, including the OpenSSH package. Then run the ssh host setup command.

ssh-host-config

This command should result in several prompts. Answer yes, yes, yes. To each question. Then use ntsec tty for the CYGWIN= variable.

After the installation script completes, you can start the sshd daemon with the Windows net command.

net start sshd

0 TrackBacks

Listed below are links to blogs that reference this entry: Using Cygwin for a Windows SSH Server.

TrackBack URL for this entry: http://aaronlongwell.com/mt/mt-tb.cgi/2

Leave a comment


Type the characters you see in the picture above.

Who's this guy?

Aaron Longwell is Chief Web Craftsman at New Media Logic Corporation in Coeur d' Alene, Idaho. As a professional software developer for 12 years and a student of public policy, he occasionally has interesting things to say about software, technology, culture and politics.

Subscribe to feed Subscribe to my RSS Feed

  • View Aaron Longwell's profile on LinkedIn
  • Recommend Me