X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 16 Apr 2012 08:23:02 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Build problem with most current cygwin?
Message-ID: <20120416062302.GA3190@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <E6D1AAFDD12E6746BF2C402E9A99C28D02A6BEB17D@cos-us-mb14.agilent.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <E6D1AAFDD12E6746BF2C402E9A99C28D02A6BEB17D@cos-us-mb14.agilent.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Apr 12 14:26, michael_moore@non.agilent.com wrote:
> Version is 1.7.12
> 
> ssh-host-config -y was the command  I apologize for pasting/posting misinformation. 
> 
> "* Warning: Creating the user 'cyg_server' failed!  Reason:
> System error 5 has occurred.
> 
> Access is denied.

This happens if you're running the script as normal user or in a
non-elevated shell.  The script obviously needs admin permissions
to create user accounts and/or services.

> I did a new install.  One other upgraded openssh and reversed it.  The version he is running is somewhere between the legacy and the current.    1.7.5 works, 1.7.7 works,  1.7.10 fails on 
> 
> $ hg clone ssh://...
> 
> And 1.7.12 will NOT run sshd on our configurations of Win7 Enterprise, nor will ssh(1) do anything with 
> 
> $ ssh -F <some config file>
> Or  appear to get info from the usual locations....
> 
> michmoor(at)5CB2024JR8 ~
> $ ssh gene3
> michmoor(at)gene3's password:
> 
> michmoor(at)5CB2024JR8 ~
> $ ssh -i ~/.ssh/id_rsa gene3
> Enter passphrase for key '/home/michmoor/.ssh/id_rsa':
> 
> So ssh(1) isn't even reading the default identity file, unless forced.

ssh does not honor the $HOME variable, it uses the info from /etc/passwd.
Is your home dir in /etc/passwd set to /home/michmoor?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

