1

I am currently using rackspace cloud servers with ubuntu images, and they are mostly provisioned using fabric (a python based to to automate commands over SSH). Now I would also like to start testing my software on windows. How would I go about bootstrapping SSH or something similar so I can script the provisioning?

I read this question which suggests an ssh server. How would I bootstrap my instance to install this?

2 Answers2

1

Are you simply looking to get SSH running on the Windows instance?

If so, there are a number of free SSH servers you can simply install, just like you would any software, as suggested in that problem you linked to. I suspect that might cover your needs.

Otherwise, another option is Cygwin. Cygwin is a popular way to "do Linux things on Windows computers." It has a lot of different tools/components, but most pertinently, it has an SSH component to load on top of your Windows OS. In addition though, it'll give you a lot of the capability you need to run and execute Linux scripts and commands on a Windows instance

http://www.cygwin.com/

http://www.noah.org/ssh/cygwin-sshd.html

Univ426
  • 2,179
1

You could install an SSH server of your choice, and then make an image of the system post install. Then use that image when provisioning new instances.

Or you could use a configuration management tool like Chef to provision your servers. This sort of setup is very powerful for building out new systems and standardize their configuration using recipes.

NickTX
  • 68