I have a script automates installing and setting up sshd using cygwin.
It first downloads the latest setup.exe then runs the following:

> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R 
> c:\cygwin
> c:\cygwin\bin\bash --login -c "/bin/mkpasswd | sed 
> 's/Administrator:unused:500:513/root:unused:0:544/g' | sed 's/:513:/:545:/' > 
> /etc/passwd"
> c:\cygwin\bin\bash --login -c "/bin/mkgroup -l > /etc/group"
> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R 
> c:\cygwin -P cygrunsrv
> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R 
> c:\cygwin -P openssh
> c:\cygwin\bin\bash.exe --login -c "/bin/ssh-host-config -y --pwd ***"
> sc.exe failure sshd reset=0 actions=restart/0/restart/0/restart/0
> net start sshd

This was working great last week, but on the 20th it stopped working.

It fails on the line installing cygrunsrv, if I run setup.exe in
interactive mode, I can install cygrunsrv just fine. Then the script
fails to install openssh in the same way. Again a manual install works
fine. I've tried different mirrors to no avail.

The contents of /var/log/setup.log.full https://gist.github.com/3945977

--Stefan Rusek
ste...@cheezburger.com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to