This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd exits during login attempt on WinXP 2003 x64 if user running sshd is different from user running ssh
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 6 Feb 2007 18:57:33 +0100
- Subject: Re: sshd exits during login attempt on WinXP 2003 x64 if user running sshd is different from user running ssh
- References: <eqadt0$54d$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
On Feb 6 09:29, Brian Kasper wrote:
> If I run "c:\cygwin\usr\sbin\sshd -d" in a Windows command prompt
> started as user "administrator" and then run "ssh -l kasper localhost"
> in another command prompt started as user "administrator", the session
> FAILS with the message "/bin/bash: Permission denied".
>
> If I run "c:\cygwin\usr\sbin\sshd -d" in a Windows command prompt
> started as user "administrator" and then run "ssh localhost" in a
> command prompt started as user "kasper", the session FAILS after these
> sshd debugging messages:
This won't work. By default, no user has the required permissions to
change the user context. Start here:
$ less /usr/share/doc/Cygwin/openssh.README
and here:
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-switch
and install sshd as service using the ssh-host-config script.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/