delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/25/16:24:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: eskimo.com: ert owned process doing -bs
Date: Fri, 25 May 2001 12:54:45 -0700 (PDT)
From: Ert <ert AT alum DOT mit DOT edu>
X-Sender: ert AT eskimo DOT com
To: cygwin AT cygwin DOT com
Subject: Can't SSH with publickey authentication?
Message-ID: <Pine.SUN.3.96.1010525123653.29976A-100000@eskimo.com>
MIME-Version: 1.0

Hiya.

I was happily using ssh on cygwin on NT for the last 6 months, but
recently had to migrate to Win2K, and haven't been able to use SSH since
then:

I'm trying to open a connection to a server that only takes publickey
authentication.  I generate a key, put my identity.pub in the
authorized_keys file, try to connect, and always get "Permission denied
(publickey)"

At first I thought it was because of the world-readable-identity-file
problem, but then I gather Corinna adapted openssh to handle that.  I have
no problem getting to this machine using SecureCRT, but if I try the
identity key created by SecureCRT as the key for cygwin-command-line
openssh it complains "PEM_read_PrivateKey failed" in the debug output and
asks for a passphrase, regardless of whether the key needs one or not.  I
also can get to this machine fine using ssh from a separate linux box. 

I've been over the readme file and most of it seems to deal with sshd.  I
figure I'm missing something completely obvious.  Can anyone help?

Thanks!
- Ert


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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