X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 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: Sat, 21 Jan 2012 07:47:09 -0800
Lines: 24
Message-ID: <jfemlu$rs8$1@dough.gmane.org>
References: <jfcsbt$eci$1@dough.gmane.org> <1910391597.20120121163937@mtu-net.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0
In-Reply-To: <1910391597.20120121163937@mtu-net.ru>
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 01/21/2012 04:39 AM, Andrey Repin wrote:
>> http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter8.html#pubkey
>> <http://the.earth.li/%7Esgtatham/putty/0.58/htmldoc/Chapter8.html#pubkey>  states
>> to basically use PuttyGen to generate the key then copy and paste it
>> into your ~/.ssh/authorized_keys file. I do that but when I try to ssh
>> in from a remote system using Putty I keep getting prompted for a
>> password. Does anybody know how to fix/configure this?
> You didn't said anything to help you.
Actually I was expecting help from you! ;-)
> What key type you generate?
I tried them all.
> How do you save both parts of the key?
Didn't think I had to. IIRC there was a save button. I clicked on that 
and saved whatever it saved. I don't recall it saying what part it would 
save.
> You said you copied public key, did you saved private key as well?
> Or you just assumed it was saved somewhere automatically?
Yes I did assume it would save it somewhere. If you use ssh-keygen it 
does save it somewhere (~/.ssh by default). As I said, I don't use putty 
so I have no idea how it works. Where am I supposed to save it? How does 
putty then later find it and use it?
-- 
Andrew DeFaria <http://defaria.com>
Animal testing is a bad idea - they get nervous and give the wrong answers.


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

