delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/12/16:26:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_PK,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: <michael_moore AT non DOT agilent DOT com>
To: <cygwin AT cygwin DOT com>
Date: Thu, 12 Apr 2012 14:26:17 -0600
Subject: Re:Build problem with most current cygwin?
Message-ID: <E6D1AAFDD12E6746BF2C402E9A99C28D02A6BEB17D@cos-us-mb14.agilent.com>
MIME-Version: 1.0
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3CKQjab022730

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

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.


After all the files were configured, ssh client is still ignoring them, and I cannot get sshd running, nor can I establish connection with ssh-agent for ssh-add

If RHEL6 were a little less flaky with its X-server on VMware Player, we would not be having this conversation.  I started X this morning and it crashed, so I have to go through VMware tools once again to rebuild config files.

-----Original Message-----
> Several folk here use Cygwin with windows 7 enterprise as a tool to access linux servers.  They have Cygwin with X installed and use a combination of terminal windows and X exports from the RH servers to manage items.
>
> The most recent version of Cygwin, when upgraded, breaks in these uses.  I have spent a little time isolating causes.

"most recent" is not a version number.
Could you at least clarify from which version to which version did you upgrade  ?

>
> Ssh(1) on  normal install does not get any config files.

$ cygcheck -l openssh |grep bin
/usr/bin/slogin
/usr/bin/ssh-keyscan.exe
/usr/bin/ssh-user-config
/usr/bin/sftp.exe
/usr/bin/ssh-host-config
/usr/bin/ssh-copy-id
/usr/bin/ssh.exe
/usr/bin/ssh-keygen.exe
/usr/bin/ssh-add.exe
/usr/bin/scp.exe
/usr/bin/ssh-agent.exe
/usr/sbin/sshd.exe
/usr/sbin/sftp-server.exe
/usr/sbin/ssh-keysign.exe
/usr/sbin/ssh-pkcs11-helper.exe



> When config files are placed at the usual suspect locations, ssh(1) ignores them.
>
> cygrun-host-config -y

this file is not from cygwin
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cygrun-host-config

>
> does build the config files, but it cannot complete because the required accounts cannot be created , not even by someone with admin access.  It fails on permisssions.
>
> alias ssh="ssh -2 -I ~/.ssh/id-rsa"
>
> in .bashrc
> does allow ssh to do password-less access to the servers but it breaks 
> on
>
> hg clone ssh://...
>
> which is now totally non-functional.
>
> The two offered downloads of Cygwin are now of greatly reduced utility because the way duties are arranged doesn't allow functioning of the agent or the id mechanism.
>
> Everyone has been advised to hold without updating on Cygwin, and new machines are now being equipped with VMware player and RHEL6.
>
> Michael

what about providing same data like
Problem reports:       http://cygwin.com/problems.html

Usually the file in ~/.ssh should have a 600 permission, otherwise ssh refuse to use them.
Wich permission do you see ?

Regards
Marco


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