This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: RSA authentication


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@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com]Im Auftrag von Corinna Vinschen
Gesendet: Dienstag, 27. Februar 2001 12:19
An: cygwin@cygwin.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@cygwin.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]