X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: Putty and pre-shared keys with Cygwin's sshd
Date: Mon, 23 Jan 2012 12:35:56 -0800
Lines: 23
Message-ID: <jfkgbe$ci1$1@dough.gmane.org>
References: <jfcsbt$eci$1@dough.gmane.org> <1910391597.20120121163937@mtu-net.ru> <jff23g$h5j$1@dough.gmane.org> <1326199340.20120122003455@mtu-net.ru> <jffqqg$gke$1@dough.gmane.org> <1838817585.20120122072825@mtu-net.ru> <jfgbda$8o9$1@dough.gmane.org> <C78DB4FD-1F9A-4AB3-9BD9-456DDE9F424F@intersystems.com> <jfi9mf$id9$1@dough.gmane.org> <20120123095700.GC2456@calimero.vinschen.de> <jfkaps$2nc$1@dough.gmane.org> <F332CBAC-B049-40B1-B5B8-A32886E97C89@intersystems.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
In-Reply-To: <F332CBAC-B049-40B1-B5B8-A32886E97C89@intersystems.com>
X-Stationery: 0.7.7
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 1/23/2012 11:59 AM, Len Giambrone wrote:
> That looks like an SSH2 key, not an OpenSSH key.
>
> I downloaded puttygen to see exactly what you see.
> And after you load a key (generate one) right at the top it says:
>
> Public key for pasting into OpenSSH authorized_keys file:
> _key here_
>
>
> For example, here is what it says for the key I just generated:
> ssh-dss AAAAB3NzaC1kc3MAAACBAMbwMxkFnVJF63DM+nfpD1gv6setf/Roin5qEc7ydRfaUHKZv5GVZiKnUGAaAMNFL74A71GAw6xi0+7JpsL1h+OkXmawFXC9KSgR+RA2VpxN2f7FWny1ShfhZq4N26ZG8PfHKH6C4FtnTZYgn6BK8kVBXCkC9JM+q7q5K02/8RupAAAAFQDQciLPjAQRgYreE+phPeNImQjfiQAAAIACMU7jvQJKUIWPhPOcEdRVy2vCg0D8K3Z22GhLGRwtnFA2qklcoBwc/uPwe+nJ8aVYBeJ7b/XXS5MJWJGfHkP9aYQHg7GQ5iZYBx596Txz4pHhzh5XW0iCWlzHX9vTY8xjSgwfK6wBk+Q/5WXmf7pO1wQ6Bh8OZKQ1KvCbUFSL6wAAAIEAg/GvMBJ1dvB94EBlkqwl2FTZ5XFYLOTpPtIbgiY1Tewljhoy9NuYmsZZjKD4T2HihhNhDDlVYgNSGrSw1rX/8ZfzjgIhzYSZGHswZ+AMxcWn+6k1E7i7xgvjcEqldyF/6O6ofq3TRPliONE3euQSA6SRbH7YKIKmb1+HqxTOy+A= dsa-key-20120123
>
> THIS is what your OpenSSH public key should look like.
I agree 100%. And I did that - to start with, and did it again many 
times to verify it, etc. Problem is it constantly fails.

I think the problem is really one of permissions, not the appropriate 
key. Seem ssh to local host even prompts me.
-- 
Andrew DeFaria <http://defaria.com>
An ounce of practice is worth more than tons of preaching. - Mohandas 
Gandhi


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

