Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <006301c2cd55$ee0eb250$78d96f83@pomello> From: "Max Bowsher" To: "Marc Bejarano" Cc: References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030204105352 DOT 034ad8d0 AT 127 DOT 0 DOT 0 DOT 1> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030204135959 DOT 01b8f160 AT 127 DOT 0 DOT 0 DOT 1> Subject: Re: sshd can't do publickey auth with .ssh linked to /cygdrive/c/rest/of/path Date: Wed, 5 Feb 2003 20:34:06 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Marc Bejarano wrote: > i'm still not subscribed to this list so i would be grateful if i > could be left on the cc: line of this thread. .... > new error: > Authentication refused: bad ownership or modes for directory / > > perms: > drwxrwxr-x+ 10 Administ Administ 0 Feb 4 13:58 // > > ok. that's ridiculous. i'm not changing the owner of / just so > it'll be more convenient to share the default key directory that scrt > uses. > > the real problem is that openssh checks ownership and modes up the > tree > from the authorized_keys2 file until it hits your home dir. since my > home dir is under /home, it never hits that. How about mounting the SecureCRT keys directory to /home/you/.ssh ? Then, as far as sshd is concerned, it _is_ under your home dir. $ mount -b -u C:\path\to\securecrt\keys\dir /home/you/.ssh Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/