This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: sshd exits during login attempt on WinXP 2003 x64 if user running sshd is different from user running ssh


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/


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