X-Spam-Check-By: sourceware.org From: "David Christensen" To: "'cygwin'" 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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 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 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/