delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/05/15:34:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <006301c2cd55$ee0eb250$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Marc Bejarano" <beej AT alum DOT mit DOT edu>
Cc: <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019