delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/10/11:16:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: OpenSSH pubkey authentication failing after update to 5.4
Date: Wed, 10 Mar 2010 17:15:44 +0100
Lines: 29
Message-ID: <hn8gjj$ci5$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.9.14
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

Hi,

today I updated to OpenSSH 5.4 from 5.3 and I noticed on four different 
hosts that pubkey authentication was not working anymore after the 
update (while password authentication still works).

I started the server with "-ddd" and this is the (in my opinion) 
critical difference:

# 5.3 (old SSH)
temporarily_use_uid: 500/513 (e=1105/513)
trying public key file /home/admin/.ssh/authorized_keys
fd 4 clearing O_NONBLOCK
matching key found: file /home/admin/.ssh/authorized_keys, line 1
Found matching DSA key: 1b:31:25:da:6f:89:17:e8:25:46:46:60:ed:6f:a2:6c

# 5.4 (new SSH)
temporarily_use_uid: 500/513 (e=1105/513)
trying public key file //.ssh/authorized_keys
restore_uid: 1105/513
temporarily_use_uid: 500/513 (e=1105/513)
trying public key file //.ssh/authorized_keys
restore_uid: 1105/513
Failed publickey for admin from 149.44.136.129 port 2864 ssh2


What else can I provide to help troubleshooting this issue?!

Thorsten


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