* ssh issues
@ 2011-05-05 20:31 Eli Barzilay
2011-05-05 21:07 ` René Berber
0 siblings, 1 reply; 3+ messages in thread
From: Eli Barzilay @ 2011-05-05 20:31 UTC (permalink / raw)
To: cygwin
Hopefully this is a FAQ in some place that I've missed...
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.)
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.
Any pointers?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ssh issues
2011-05-05 20:31 ssh issues Eli Barzilay
@ 2011-05-05 21:07 ` René Berber
2011-05-05 21:23 ` Charles Wilson
0 siblings, 1 reply; 3+ messages in thread
From: René Berber @ 2011-05-05 21:07 UTC (permalink / raw)
To: cygwin
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.)
>
> 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.
>
> 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.
--
René 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ssh issues
2011-05-05 21:07 ` René Berber
@ 2011-05-05 21:23 ` Charles Wilson
0 siblings, 0 replies; 3+ messages in thread
From: Charles Wilson @ 2011-05-05 21:23 UTC (permalink / raw)
To: cygwin
On 5/5/2011 5:07 PM, René Berber wrote:
> On 5/5/2011 3:31 PM, Eli Barzilay wrote:
>> 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.
>>
>> 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.
env vars are a common issue (see:
http://cygwin.com/ml/cygwin/2010-08/msg00245.html) but in this case I
think it's somewhat different.
On Vista and W7, the sshd process is running in a different "Windows
Station" than the normal login. This *might* mean that the 'reg'
command is accessing a different registry hive that you think it should.
Can you run the 'reg' command manually, from a standard login and from
an sshd session, and see what the results are in each case?
--
Chuck
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-05 21:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05 20:31 ssh issues Eli Barzilay
2011-05-05 21:07 ` René Berber
2011-05-05 21:23 ` Charles Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).