delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/05/17:07:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: ssh issues
Date: Thu, 05 May 2011 16:07:17 -0500
Lines: 32
Message-ID: <ipv3i8$edg$1@dough.gmane.org>
References: <m3wri4opns DOT fsf AT winooski DOT ccs DOT neu DOT edu>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <m3wri4opns.fsf@winooski.ccs.neu.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 5/5/2011 3:31 PM, Eli Barzilay wrote:

> Hopefully this is a FAQ in some place that I've missed...

Maybe not a FAQ but its a common complaint by people using VS; you might
find more information on this list by searching over Visual Studio
(which I don't use).

> I have an XP machine set up for doing builds via ssh.  This works fine
> with one problem: when ssh is started normally as a service, there's
> some obscure Visual Studio problem (it complains about some
> misconfiguration).  To solve it, I always kill sshd and start it from
> a bash shell on the machine.  It's tedious but not too much since the
> machine is rarely rebooted.  (I also have a monitor for this: it uses
> ssh to log to the machine and then looks for sshd in the ps output.)
>=20
> But now I'm trying to set up a Windows 7 build machine, and things get
> more complicated in a way that I think is related to the above.  The
> first thing that fails (after I start sshd as myself, similarly to the
> XP box) is running the vcvarsall.bat in the devstudio directory --
> that fails with a "Cannot determine the location of the VS Common
> Tools folder", which I tracked down to uses of some `reg' command that
> fail.  The thing is that it works fine when running on a bash shell on
> the machine, but fails through ssh.
>=20
> Any pointers?

Environment variables.  When you login using ssh you get a different set
than the ones your Windows login has, including a modified PATH.
--=20
Ren=E9 Berber



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019