delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "David Christensen" <dpchrist AT holgerdanske DOT com> |
To: | "'cygwin'" <cygwin AT cygwin DOT com> |
Subject: | RE: ssh asks for key passphrase every time |
Date: | Wed, 20 Dec 2006 19:19:51 -0800 |
Message-ID: | <000701c724ae$e120c880$0a00a8c0@a64x23800p> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <83c75fec0612201145h436a6b04i2740cce0e5b669db@mail.gmail.com> |
X-IsSubscribed: | yes |
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 |
burning shadow 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. I use ssh between Cygwin, Debian, Slackware, and IPCop machines and don't need to enter SSH passphrases or passwords. I think the key is to press <Enter> when prompted for a passphrase when generating the key. First, update Cygwin. Then generate fresh keys: $ ssh-keygen -t dsa on the client machine and pressing <Enter> through all the prompts. Next, copy ~/.ssh/id_dsa.pub to the host machine and append it's contents to the .ssh/authorized_keys file. You should then be able to log in from the client to the host without having to enter a passphrase or password. HTH, David -- 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 |