delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/15/10:06:40

X-Spam-Check-By: sourceware.org
Message-ID: <4649BE48.3000809@cygwin.com>
Date: Tue, 15 May 2007 10:06:00 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070308 Fedora/1.5.0.10-2.fc4.remi Thunderbird/1.5.0.10 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh gives nt authority/system windows who
References: <9C98DAB8-F241-4054-B2E3-15DD359CE860 AT aleagames DOT com>
In-Reply-To: <9C98DAB8-F241-4054-B2E3-15DD359CE860@aleagames.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Lucio Cosmo wrote:
> Hello All.
> 
> I've read some archives on the topic but I cannot understand exactly how
> to solve.
> To be sure, I've installed a brand new machine with
> 
> - WinXP
> - MS Visual Studio 7
> - Cygwin
> 
> Installed ssh daemon by following the instructions.
> Our target is compile from a ssh shell with key (authomatic)
> authentication VS projects from shell. As far as I understand, some
> people is doing similiar things.
> 
> The batch is working perfectly, except that when it runs from ssh
> console, Visual Studio hangs with a dialog error.
> 
> From the archives, I understood that the problem is the windows_user we
> got from "whoami.exe" for windows executable.
> I downloaded such executable in the home dir and I have
> 
> ./whoami.exe
> sofiaxp2/lucio
> 
> ssh localhost ./whoami.exe
> nt authority/system
> 
> instead of "nt authority/system" i should have "sofiaxp2/lucio".
> 
> When I run the script in the first case, all works, in the second VS
> hungs up.
> 
> 
> Is there any easy solution to the problem ?
> It does give no hassle to change / force things on the machine,
> administration grants, and so on. I need only to make it work :)
> 
> Thanks a lot in advance for any suggestion.

Try password authentication.  If you need public key authentication,
you'll either have to wait until 1.7 releases with the subauth functionality
in it or pull a snapshot now (with all the obvious caveats about using a
snapshot).

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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


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