delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <16217864.post@talk.nabble.com> |
Date: | Sat, 22 Mar 2008 01:42:36 -0700 (PDT) |
From: | pauli <plupino AT gmx DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Private key file permissions w/Cygwin OpenSSH on Vista |
In-Reply-To: | <4685A8FB.4020309@gmail.com> |
MIME-Version: | 1.0 |
X-Nabble-From: | plupino AT gmx DOT net |
References: | <4685A8FB DOT 4020309 AT gmail DOT 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 |
Simple workaround: Change the compatibility to "Windows XP" in the properties of ssh.exe (I tested this with binary OpenSSH 3.5p1) Siva-8 wrote: > > Re: binary distro of OpenSSH 3.8.1p1 > > I've been unable to use Cygwin's OpenSSH on Vista w/public key > authentication because ssh.exe always states the file permissions on the > private key file--"id_rsa"--are too open. > > I've used the chmod.exe utility to change the permissions on the id_rsa > file to 600, but ssh.exe still pops up with the same error message. > > I've also used Windows' cacls.exe command to alter the ACLs for the file > to be ONLY read-accesible to the current user, and the same thing happens. > > This behavior DOES NOT occur on XP and 2000 when I try it, i. e. > chmod.exe WORKS on these OSs to change id_rsa's permissions so that > ssh.exe is happy (i. e. to 0600). > > Is there a specific bona-fide way to set the id_rsa file's permission to > always be acceptable to Cygwin SSH on Vista, in addition to the other > Windows OSs? > > Let me know. Thanks. > > > > -- > 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/ > > > -- View this message in context: http://www.nabble.com/Private-key-file-permissions-w-Cygwin-OpenSSH-on-Vista-tp11369349p16217864.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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 |