Mail Archives: cygwin/2008/08/06/04:13:43
I've got the current versions of cygwin and sshd installed on a
windows box (the OS itself was only installed a couple days ago). I
can ssh in using pubkey auth with no problem. However, I'm getting
errors like
LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation\ of this product
when I try to build C++ apps with Visual Studio Express 2008.
This isn't C1902, of course, but the symptoms are nearly the same. If
I log in with a password, everything works fine.
I see this issue has been discussed before:
http://www.cygwin.com/ml/cygwin/2006-07/msg00577.html
http://cygwin.com/ml/cygwin/2007-01/msg00651.html
Corinna Vinschen implied that this problem has been fixed, but that
does not seem to be the case for me. Is this still an outstanding
bug?
I also have a workaround, hopefully this will help someone else out
there. Since my actual goal is to set up a continuous integration
build engine, only one user needs to be able to log in remotely and
run builds. I set up a second sshd, on an alternate port, which runs
as a windows server as the build user instead of SYSTEM. The user
name is ci, and I did the following, as that user in a cygwin shell:
mkdir ~/.ssh
ssh-keygen (with no password)
cp /etc/sshd_config ~/.ssh/sshd_config
edit ~/.ssh/sshd_config to set an alternate port number, and disable
privilege separation
cygrunsrv -I sshd-ci -p /usr/sbin/sshd -a "-D -f /home/ci/.ssh/sshd_config"
Then, on the windows console, I brought up the Services manager (My
Computer -> Manager -> Services and Applications -> Services),
double-clicked the sshd-ci service, selected the "Log On" tab, clicked
the "This account" radio button, and filled in the local user ci
(actually ".\ci") and its password. After starting this sshd-ci
service, I can now ssh in with a public key and successfully do a
build.
I can live with this, but if there is a fix I can use, I'd rather do
it "right".
Marc
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -