X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.8 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_JMF_BR
X-Spam-Check-By: sourceware.org
Date: Sat, 21 Jan 2012 16:39:37 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1910391597.20120121163937@mtu-net.ru>
To: Andrew DeFaria <Andrew@DeFaria.com>, cygwin@cygwin.com
Subject: Re: Putty and pre-shared keys with Cygwin's sshd
In-Reply-To: <jfcsbt$eci$1@dough.gmane.org>
References: <jfcsbt$eci$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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

Greetings, Andrew DeFaria!

> Now putty does work but I like having pre-shared keys with ssh sessions.
> But I can't seem to get Putty's PuttyGen generated ssh keys to work with 
> Cygwin's sshd.

Then you're doing something wrong.

> 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.
What key type you generate? How do you save both parts of the key?
You said you copied public key, did you saved private key as well?
Or you just assumed it was saved somewhere automatically?


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 21.01.2012, <16:36>

Sorry for my terrible english...


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

