delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/20/18:12:35

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 <Andrew AT DeFaria DOT com>
Subject: Putty and pre-shared keys with Cygwin's sshd
Date: Fri, 20 Jan 2012 15:11:50 -0800
Lines: 19
Message-ID: <jfcsbt$eci$1@dough.gmane.org>
Mime-Version: 1.0
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 
<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?
-- 
Andrew DeFaria <http://defaria.com>
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

- Raw text -


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