delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <83c75fec0612210440g681bb6c6q475fcce58131ab99@mail.gmail.com> |
Date: | Thu, 21 Dec 2006 07:40:11 -0500 |
From: | "burning shadow" <burning DOT shadow AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh asks for key passphrase every time |
In-Reply-To: | <c2888f8c0612201945g71475458o5f17cb5e7a6f072d@mail.gmail.com> |
MIME-Version: | 1.0 |
References: | <83c75fec0612201145h436a6b04i2740cce0e5b669db AT mail DOT gmail DOT com> <c2888f8c0612201945g71475458o5f17cb5e7a6f072d AT mail DOT gmail DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Thank you very much. You were right. :) On 12/20/06, Robert McKay <robert AT mckay DOT com> wrote: > On 12/20/06, burning shadow <burning DOT shadow AT gmail DOT com> wrote: > > I have created identification key with passphrase (id_dsa). Now every > > time I try to open ssh connection to any host, ssh asks for passphrase > > for this key. I believed, ssh should ask for a passphrase only if host > > wants to accept key. FreeBSD's ssh, for example, does it this way. > > This is because when the private key is encrypted (with the > passphrase) ssh can't read it to tell whether the ssh server asked for > it or not :-) > > To get around this issue ssh looks for the public key and uses that to > determine whether or not it should bother decrypting the private key. > It does this by checking all the .pub files in your .ssh directory and > if it finds a match then it decrypts the corresponding private key. > This only works if you've got the public key and it's named with the > same prefix as the private key otherwise it will always ask for the > passphrase to decrypt the private key. > > I'm guessing that this may be your issue. > > Cheers, > > Robert > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |