openssh client on Windows 7 key auth issue

Dan Kaminsky dan at
Sat Feb 11 06:48:13 EST 2012

It also may be that the ssh client can't find your generated key.  I'd do:

ssh-keygen -f id_dsa -t dsa

then add to authorized keys

then ssh -i id_dsa user at host

Add "-v -v -v" to ssh if things still don't work.

Good luck once more!

On Fri, Feb 10, 2012 at 2:46 PM, Dan Kaminsky <dan at> wrote:

> I'm not sure which Windows port of OpenSSH you're using; however, I
> usually recommend people looking to use SSH on Windows either work with
> PuTTY or Cygwin's OpenSSH (w/ the rxvt native client).
> Good luck!
> --Dan
> On Fri, Feb 10, 2012 at 11:51 AM, Oleksandr Yeremko <yeremko at>wrote:
>> Dear All,
>> could anybody be so kind and explain me such situation:
>> I set up OpenSSH client on Windows 7.
>> Then I generated keys pair by 'ssh-keygen -t dsa' and with empty (no)
>> passphrase.
>> Then I inserted appropriate info into authorized_keys file on my Unix
>> host.
>> But when I try to connect to my Unix host 'ssh' asks for passphrase
>> for 'id_dsa' and than wants to authenticate by password because
>> 'publickey method is refused - no passphrase is given'.
>> I have no such situation in Windows XP - everything is OK there.
>> What is the problem with Windows 7?
>> Thank you for your time and your help,
>> Oleksandr
>> -
>> Kiev, UKRAINE
>> _______________________________________________
>> openssh-unix-dev mailing list
>> openssh-unix-dev at

More information about the openssh-unix-dev mailing list