www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/16/02:23:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 16 Apr 2012 08:23:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Build problem with most current cygwin?
Message-ID: <20120416062302.GA3190@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E6D1AAFDD12E6746BF2C402E9A99C28D02A6BEB17D AT cos-us-mb14 DOT agilent DOT com>
MIME-Version: 1.0
In-Reply-To: <E6D1AAFDD12E6746BF2C402E9A99C28D02A6BEB17D@cos-us-mb14.agilent.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Apr 12 14:26, michael_moore AT non DOT agilent DOT 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

- Raw text -


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