Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a build server (Windows Server 2008) set up to pull down code from our SVN repository and build the web applications we develop. My current process involves using WinSCP to perform a remote sync that sends the updated files to our production server after a release build. This is working pretty well but sometimes our changes require that the IIS application pool be recycled so the newest files are server correctly. Since our production server is hosted by another provider I cannot use PsExec or PowerShell to kick the necessary app pool on the production server. Our production server does have a Cisco VPN client available and using that does allow me to run PsExec but I cannot be sure that the client will always be connected.

I am wondering how other people handle this situation and if there are any suggestions other than PsExec over the VPN. I am using Hudson to manage our build process so it's not a big deal to execute anything that can be scripted. Any suggestions are greatly appreciated.

share|improve this question

WinRM (remote management). It looks like it takes more then a few steps to get it working securely over the Internet using HTTPS but it's designed for HTTP remote management and I've watched videos and read much on the topic of WinRM + PowerShell, etc. I just haven't used it remotely through firewall yet.

updated versions of WinRM and PowerShell for 2008


share|improve this answer
up vote 0 down vote accepted

It turns out a simple solution was to install an SSH server on our production box and open the necessary firewall ports. SSH allows me to access the command shell on the production server in a secure way and execute what I need. I haven't gotten all of the scripting finalized yet but it seems like it will solve the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.