Public key authentication impossible w/SSH client on Vista
- From: Siva <solletica@xxxxxxxxxxxxxxx>
- Date: Wed, 20 Jun 2007 23:55:31 -0500
On Microsoft, w/both the OpenSSH client for Windows (v 3.81) and PuTTY, I'm unable to change the file permission on the id_rsa file--used in public key authentication--to something that is acceptable to the client, i. e. user-read only permissions. Instead, the SSH client keeps complaining that the file permissions for id_rsa, "0644 are too open."
I've tried using CYGWIN's chmod.exe utility for Windows to alter the file permissions to "0600", but that doesn't work on Vista However, it DOES work on XP and 2000.
I've also tried using Microsoft's built-in setacls command to alter the file permissions on id_rsa. Again, it works on XP and 2000, but NOT on Vista.
I did not copy the id_rsa file to a different location from its default, i. e. I just ran ssh-keygen, let it generate the id_rsa file in %USERPROFILE%/.ssh, and left it there. When I tried to run the SSH client, it complained that the perms on that id_rsa file were too open. And then, when I tried to alter it to "0600" w/chmod.exe and/or make it accessible only the current user w/SETACLS, SSH still claimed the file perms were still "0644" and failed to honor it.
I'm curious if anyone else has encountered this problem, and if so, if there is a workaround.
Please let me know. THANKS!
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Public key authentication impossible w/SSH client on Vista
- From: Simon Tatham
- Re: Public key authentication impossible w/SSH client on Vista
- From: Siva
- Re: Public key authentication impossible w/SSH client on Vista
- Prev by Date: Re: prompt or not prompt for the password depending on the user
- Next by Date: Re: Public key authentication impossible w/SSH client on Vista
- Previous by thread: prompt or not prompt for the password depending on the user
- Next by thread: Re: Public key authentication impossible w/SSH client on Vista
- Index(es):
Relevant Pages
|