delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/09/17:07:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-48.4 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-id: <4D531023.6070807@verizon.net>
Date: Wed, 09 Feb 2011 17:07:31 -0500
From: Gerry Reno <greno AT verizon DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7: after upgrade lost ability to login via ssh
References: <4D51F868 DOT 6010000 AT verizon DOT net> <4D52131F DOT 9060603 AT cygwin DOT com> <4D530D72 DOT 7000302 AT verizon DOT net>
In-reply-to: <4D530D72.7000302@verizon.net>
X-IsSubscribed: yes
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

On 02/09/2011 04:56 PM, Gerry Reno wrote:
> On 02/08/2011 11:07 PM, Larry Hall (Cygwin) wrote:
>   
>> On 2/8/2011 9:14 PM, Gerry Reno wrote:
>>     
>>> Something else I just discovered after upgrading to 1.7.7 is that I now
>>> have lost the ability to login via ssh.
>>>
>>> I have OpenSSH installed and running sshd as a service.  Both password
>>> and keys accepted.  But now neither means will work.
>>>
>>>      # ssh -i keypair1.pem   Administrator AT MACHINE_IP
>>>      Last login: Fri Feb  4 17:19:26 2011 from LOCAL_CLIENT_MACHINE
>>>      Connection to MACHINE_IP closed.
>>>
>>>
>>> So I increased verbosity but did not see anything obvious.
>>>
>>>
>>>      # ssh -v -i keypair1.pem   Administrator AT MACHINE_IP
>>>      OpenSSH_5.2p1, OpenSSL 0.9.8k-fips 25 Mar 2009
>>>      debug1: Reading configuration data /etc/ssh/ssh_config
>>>      debug1: Applying options for *
>>>      debug1: Connecting to MACHINE_IP [MACHINE_IP] port 22.
>>>      debug1: Connection established.
>>>      debug1: permanently_set_uid: 0/0
>>>      debug1: identity file keypair1.pem type -1
>>>      debug1: Remote protocol version 2.0, remote software version
>>> OpenSSH_5.8
>>>       
>> Does reverting OpenSSH to 5.7 make a difference?
>>
>>     
> Downgraded to 5.7:
>
>     bash-4.1$ sshd --version
>     sshd: unknown option -- -
>     OpenSSH_5.7p1, OpenSSL 0.9.8r 8 Feb 2011
>
>
> >From client:
>
>     ssh -i keypair1.pem   Administrator AT MACHINE_IP
>     Last login: Wed Feb  9 12:54:08 2011 from LOCAL_CLIENT_IP
>     Connection to MACHINE_IP closed.
>
>
> Nope.  Still have the same problem.  Connection is made but immediately
> closes.
>
>
>   

I'm suspecting this is related to running Cygwin 1.7.

In looking back though some notes I started having bash shell problems
after upgrading from 1.5 to 1.7. 

Now on 1.7 if I try to run bash as a login shell it just gets "Bad
address" or segfault errors and immediately exits the shell which also
probably affects 'ssh'.

I don't remember having any bash problems when I was running Cygwin 1.5
on this machine.  My notes reflect screen copies showing bash able to
run as a login shell without any problem.


Regards,
Gerry



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