delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/12/23:17:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=FKrXfdDPvzTmyGnVxmXDm33hz8dOQ8EIqVs2iduco6pZJm
JL60O4xBAN/yedplP/XCA7Mgk2sObpg5NaoKtqIsKLRbdT8XsmEyJRXiTU9tpxNi
+1bsdWcSuFnJ8KbCfLNJxralGDp/QKZGKlKde5oQqHV9dtwt0gWyMrTG8xaJs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; s=
default; bh=7hfpbjxet6I7c56s+0mXP6lpDS8=; b=kIfRjs7IuE63J/P7BnVI
a2ey8TDWDafojjUhhCv4jzOt4YNA1QJy3lodJbOI4S3GzEo0IiyJ54ek5hjFrl8u
+fd6B2ieeRK/4eANuhF9u8/kHzf/ra0fuiOilbjse61o0V2zjUNtze64maoqaMkN
OGqm+KQ49pgs/rz7IVKhSi0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_NEUTRAL,URIBL_BLOCKED,URI_HEX autolearn=no version=3.3.2
X-HELO: sam.nabble.com
Date: Tue, 12 Nov 2013 20:16:20 -0800 (PST)
From: greenspan <daniel DOT greenspan AT jhuapl DOT edu>
To: cygwin AT cygwin DOT com
Message-ID: <1384316180166-104282.post@n5.nabble.com>
In-Reply-To: <52817C34.2080501@cygwin.com>
References: <4FCF00EB DOT 2070600 AT gmail DOT com> <loom DOT 20120607T103956-836 AT post DOT gmane DOT org> <4FD07C1D DOT 5070909 AT gmail DOT com> <loom DOT 20130807T185544-35 AT post DOT gmane DOT org> <52028508 DOT 7000102 AT cygwin DOT com> <loom DOT 20131025T023724-855 AT post DOT gmane DOT org> <5269D1AA DOT 5010306 AT cygwin DOT com> <1384215795240-104252 DOT post AT n5 DOT nabble DOT com> <52817C34 DOT 2080501 AT cygwin DOT com>
Subject: Re: ssh logon failure
MIME-Version: 1.0

I feel like a terrier peeling away an onion.  Darn it, this is going to work!  

I agree with your comment about being in the weeds and started over, in the
process discovering why HOME was set improperly (using the domain switch for
mkpasswd instead of local). I reinstalled ssh, re-ran ssh-host-config, and
now am in this situation: I can ssh in, but only using public key
authentication.  Passwords do not work (and they must for this application). 

When I use a password, the login process seems like it's working - I see the
MOTD, but am immediately disconnected.  The server logs simply state that
the client disconnected.  The client -vvv option shows this (everything
before MOTD not shown):



-I have tried temporarily removing my .bashrc, .profile and so on, but this
does not change the issue.  
-.ssh is owned by me and is mode 700; all .ssh contents are owned by me and
are mode 600
-I've issued "chmod 600 /etc/ssh*"
-I've manually examined all binaries in /bin, /usr/bin, and /usr/sbin to
verify that they have reasonable modes and owners (all are owned by me (an
administrative user), and all are mode 755)
-I own my directory in /home and it has mode 755
-I am not using PAM
-Passwords are not turned off in /etc/sshd_config

Attached is the output of cygcheck.
cygcheck.txt <http://cygwin.1069669.n5.nabble.com/file/n104282/cygcheck.txt>  



--
View this message in context: http://cygwin.1069669.n5.nabble.com/ssh-logon-failure-tp57002p104282.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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