Re: Cgywin sshd: immediate disconnect
From:Date: 06/11/02
- Next message: Arndt Koenigsfeld: "Re: How do I get OpenSSH to require both RSA and password authorization?"
- Previous message: Cedric LECOURT: "Re: No password prompt with openssh"
- In reply to: Paul A. Steckler: "Cgywin sshd: immediate disconnect"
- Next in thread: : "Re: Cgywin sshd: immediate disconnect"
- Reply: : "Re: Cgywin sshd: immediate disconnect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 11 Jun 2002 22:21:05 +0200
"Paul A. Steckler" <steck@stecksoft.com> a écrit dans le message de news:
%ePM8.65491$KD3.2401871@typhoon.ne.ipsvc.net...
> I'm running Cygwin sshd on Windows XP, installed by ssh-host-config.
>
> With sshd installed as an NT service, even when I ssh to localhost, I get
an
> immediate disconnect after a successful authentication. Of course, I get
a
> similar error when ssh'ing from a remote host.
>
> I saw something on a Web page about removing Registry entries that
indicate
> mount points
> for Cygwin, in order to fix this problem. That didn't help, and it messed
> up accessing
> drive letters in the Cygwin shell!
>
> I've also run sshd manually with /usr/sbin/sshd -d. Strangely enough, I
can
> connect to localhost
> when sshd is run that way, although I get errors about no home directory.
> So much for trying to
> debug the connection.
When you launch sshd manually, it is run with your user. So sshd accept to
change the context from you to you.
If sshd is launch as a service, it uses the system account. Though if you
use public key (and no password), the authentication works fine, but when
spawning the process with the according right, it fails.
It seems to be a problem about ssh and cygwin : You have to use password to
change from one user to another.
So I suggest you disable PK and enable password : It should work fine.
Emmanuel Guyot
8 Rue des Montées
45100 Orléans
http://www.increg.com
- Next message: Arndt Koenigsfeld: "Re: How do I get OpenSSH to require both RSA and password authorization?"
- Previous message: Cedric LECOURT: "Re: No password prompt with openssh"
- In reply to: Paul A. Steckler: "Cgywin sshd: immediate disconnect"
- Next in thread: : "Re: Cgywin sshd: immediate disconnect"
- Reply: : "Re: Cgywin sshd: immediate disconnect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|