This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: ssh asks for key passphrase every time
- From: "David Christensen" <dpchrist at holgerdanske dot com>
- To: "'cygwin'" <cygwin at cygwin dot com>
- Date: Wed, 20 Dec 2006 19:19:51 -0800
- Subject: RE: ssh asks for key passphrase every time
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/