X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Putty and pre-shared keys with Cygwin's sshd Date: Fri, 20 Jan 2012 15:11:50 -0800 Lines: 19 Message-ID: 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 X-Stationery: 0.7.7 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I use Cygwin a lot and use ssh a lot. I typically set up sshd on my laptop with Cygwin and enjoy ssh'ing (and scp'ing, etc.) around effortlessly between various Unix/Linux and Cygwin machines. I'd like to show this goodness to others but many people don't bother installing Cygwin or at least don't install OpenSSH (which, IMHO should be part of the default install!) and proclaim "Well I have putty!". 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. http://the.earth.li/~sgtatham/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? -- Andrew DeFaria Doesn't "expecting the unexpected" make the unexpected the expected. -- 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