SSHd permission problem

Corinna Vinschen cygwin@cygwin.com
Tue Mar 13 08:56:00 GMT 2001


On Tue, Mar 13, 2001 at 05:24:15PM +0100, Axel Kowald wrote:
> Hi everybody,
> 
> I have problem to run openssh-2.5 on my NT4 machine.
> I'm only interested in NT password authentication, so in sshd_config I
> set:
> 
> RSAAuthentication no
> PasswordAuthentication yes
> 
> my passwd entry looks like this:
> 
> kowald::1000:513:Axel Kowald://e/CygwinStuff/home:/usr/bin/tcsh
> 
> When I'm logged in as kowald, start sshd on the command line (sshd -d)
> and try
> "ssh -v localhost" I get the error message: Failed password although it
> is my correct NT password. 
> Then I read that sshd running under my account has not sufficient rights
> and it has to be installed as service. So I used srvany to install it as
> service and it started okay. But when I now try to login I get:
>  
> debug: Connecting to localhost [127.0.0.1] port 22.
> debug: connect: Connection refused
> 
> without even asking me for a password !!
> 
> 
> What am I doing wrong ??

Probably your private ssh key files in /etc have the wrong owner and/or
permission. Did you read the first hint in the README named
"Important change since 2.3.0p1:"?

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



More information about the Cygwin mailing list