delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/10:50:30

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
Date: Wed, 20 Nov 2002 16:49:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd: server refused our key
Message-ID: <20021120164954.M24928@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BADF3C947A1BD54FBA75C70C241B0B9E90B9D8 AT ex02 DOT idirect DOT net>
Mime-Version: 1.0
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E90B9D8@ex02.idirect.net>
User-Agent: Mutt/1.3.22.1i

On Wed, Nov 20, 2002 at 10:15:24AM -0500, Harig, Mark A. wrote:
> Please keep all replies on the cygwin mailing
> list.  This helps you because more people are
> able to diagnose your problem.  It helps
> others because they are able to search the
> mailing list archives for useful information.
> 
> 1. In your reply below, you list the following
> for your home directory:
> 
> > drwxr-xr-x  138 mk       group         24576 Nov 20 11:48 .
> 
> Try:
>   chmod 750 ~
>   chgrp SYSTEM ~
> 
> 2. And for your ~/.ssh directory:
> 
> > drwxr-xr-x    2 mk       group          4096 Nov 19 13:44 .ssh
> 
> Try:
>   chmod 700 ~/.ssh
> 
> Please change both ~ and ~/.ssh.  It is not enough to only
> change one.

I don't like the idea to change these permissions.  This is
actually unlikely to help.  Especially what's the reasoning
to change group membership to SYSTEM?  The below permissions

> > >    The permissions and ownership of:
> > >        - your home directory
> > drwxr-xr-x  138 mk       group         24576 Nov 20 11:48 .
> > >        - your home/.ssh directory
> > drwxr-xr-x    2 mk       group          4096 Nov 19 13:44 .ssh
> > >        - your home/.ssh files
> > seen on UNIX:
> > -rw-r--r--    1 mk       group         545 Nov 20 08:48 
> > authorized_keys
> > -rw-r--r--    1 mk       group         546 Nov 20 08:48 
> > authorized_keys2
> > -rw-------    1 mk       group         887 Nov 19 13:44 id_rsa
> > -rw-r--r--    1 mk       group         218 Nov 19 13:44 id_rsa.pub
> > -rw-------    1 mk       group         523 Nov 19 13:44 identity
> > -rw-r--r--    1 mk       group         327 Nov 19 13:44 identity.pub
> > -rw-r--r--    1 mk       group        1442 Nov 20 11:50 known_hosts
> > -rw-------    1 mk       group         512 Nov 20 11:50 random_seed

are perfectly fine.  What irritates me is the "seen on UNIX"
and "seen inside ssh session".  What does that mean?  From the
cygcheck output I would think the home dir is on the local NTFS
drive C:.  So how can you see anything from UNIX?  You know that
the permission translation between UNIX and NT via Samba doesn't
work flawlessly, don't you?  Could you please enlighten us what
the above wording is trying to say?  And especially interesting
are the permissions on these files seen in a *local* NT session
on that very machine you're trying to connect via ssh.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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