delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/27/11:51:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Mag. M. Faffelberger" <m DOT faffelberger AT crp DOT at>
To: "Corinna Vinschen" <cygwin AT cygwin DOT com>
Subject: AW: RSA authentication
Date: Tue, 27 Feb 2001 17:21:58 +0100
Message-ID: <NDBBIMEOKDGHHCOJEGCMCEJKCMAA.m.faffelberger@crp.at>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
In-Reply-To: <20010227121904.G27406@cygbert.vinschen.de>
Importance: Normal

dear corrina,

thanx, that was the solution. when i started the sshd under the account of
the user "ksvsafequick" everything worked fine.

but what i still didn't get is the following:
- i have to run the sshd as a nt service, which is no problem (srvany.exe,
regedit entries ok)
- i have to be logged in as administrator in the system, because of many
other services
- as a service everything works fine as long as i log in as administrator
- but i can't log on as "ksvsafequick"
	- i ran the service both as "administrator" or as "ksvsafequick" -users,
both failed.
	- i also tried every possible combination of ownerships of the files
(host_key, identity, authorized_keys, ...)

i alwas get the message:
> debug: Remote: RSA authentication refused for ksvsafequick: bad ownership
or modes for '/home/ksvsafequick/.ssh/authorized_keys'.
> debug: Server refused our key.

- so i think, the ownership is not the reason for the error.
- what is the "mode, you mentioned it has to be 644? what is 644?

thanx again

matthias

-----Ursprungliche Nachricht-----
Von: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com]Im Auftrag von Corinna Vinschen
Gesendet: Dienstag, 27. Februar 2001 12:19
An: cygwin AT cygwin DOT com
Betreff: Re: RSA authentication


On Tue, Feb 27, 2001 at 12:03:54PM +0100, Mag. M. Faffelberger wrote:
> hi,
>
> when trying to authenticate with RSA i get the message:
>
> debug: Remote: RSA authentication refused for ksvsafequick: bad ownership
or
> mod
> es for '/home/ksvsafequick/.ssh/authorized_keys'.
> debug: Server refused our key.
> Permission denied.

Is sshd running under that user account? It has to to be able
to login using RSA.

> the file "authorized_keys" has the ownership of the user "ksvsafequick",
is
> that right?

Yes. Is the group membership correct as well? Did you check the
mode? It must be at least 644.

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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