We use Maven's good, old ssh method to publish Maven artifacts to our web server, which is the traditional way to use maven site:deploy
, maven jar:deploy
, etc. To accomplish this, we run an sshd server on our public web server so that our Cruise Control server can publish Maven artifacts to our web server. This allows our central Maven repository and project web sites (which are automatically built by Cruise Control using Maven) to be accessible to our collaborators via our public web server.
Our public web server is IIS6 running on Windows Server 2003, while our Cruise Control server runs on a Linux server behind the SLAC firewall. What follows is a redux of a very useful set of instructions provided by Nicholas Fong that I originally used to set up the GLAST's sshd server on Windows Server 2003. The only reason for reproducing Nicholas's instructions here is so that we have a record of how we set up sshd on Windows Server 2003 should Nicholas' site ever is inaccessible, as well as to document procedures that were specific to our setup.
We use the sshd server from the Cygwin project.
Administrator
, or as a user in the Administrators
group.c:\cygwin
C:\cygwin
C:\glast\software\cygwin
Net
, then click the icon next to the openssh package (the icon looks like a circle with arrows).CYGWIN
with a value of ntsec tty
C:\cygwin\bin
to the System PATH
environment variable (not the User PATH
environment variable).ssh-host-config
yes
yes
yes
ntsec tty
net start sshd
or cygrunsrv -start sshd
net stop sshd
or cygrunsrv --stop sshd
ssh $USERNAME@127.0.0.1
ssh-user-config