Popular virtualization tools have very good support for virtualizing Windows. The VirtualBox setup for Windows can be easier than with Mac OS X. However, the SSH protocol is less popular on Windows than on Unix-like operating systems, and the SSH server's setup on Windows might be complex.
In this recipe, you will learn how to set up a Windows virtual machine for automated builds. A set of in-depth instructions about configuration of free SSH servers on Windows will constitute a significant part of the recipe.
The following procedure will help us to prepare the Windows virtual machine:
Prepare the SSH keys as described in the Preparing SSH keys recipe in this chapter.
Download the Copssh SSH server implementation Version 3.1.4. Unfortunately, it was removed from public downloads by the authors, but still can be found on the Internet with these file...