delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/21/05:03:32

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
Delivered-To: corinna-cygwin AT cygwin DOT com
Message-ID: <3E2D1AB8.1020901@web.de>
Date: Tue, 21 Jan 2003 11:02:32 +0100
From: =?ISO-8859-1?Q?Manfred_K=F6hler?= <manfredwkoehler AT web DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: corinna-cygwin AT cygwin DOT com, cygwin AT cygwin DOT com
Subject: Re: sshd: server refused our key
X-Virus-Scanned: by AMaViS new-20020517
X-Razor-id: ad68f90a26b48c3cf09644ad5b5e5dfcd82ad5c7
X-Spam-Status: No, hits=0.0 tests=

...

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

-	mk is a user on a UNIX host.
-	mk has a domain account on Windows.
-	When mk logs on on Windows, his UNIX home directory is mounted on Windows.
-	mk has a PC with CYGWIN and a runnig ssh demon.
-	When mk is logged in on a UNIX console window and trys to get a secure shell on the
PC with the ssh demon, he is prompted for a password
-	When mk is logged in on a UNIX console window and trys to get a secure shell on 
another UNIX host he is not prompted for a password

I have setup ssh demon using ssh-user-config -y, CYGWIN will be set to "binmode ntsec tty".
/etc/group, /etc/passwd "know" mk as domain user with home directory on a net mounted host.

How can I set up CYGWIN and/or sshd that key authentification works fine?

Manfred





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