Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 24 Jul 2002 13:22:39 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: problem with a ssh server under cygwin Message-ID: <20020724132239.O13588@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <29922 DOT 1027364875 AT www14 DOT gmx DOT net> <3D3E7790 DOT 9070502 AT decodon DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D3E7790.9070502@decodon.com> User-Agent: Mutt/1.3.22.1i On Wed, Jul 24, 2002 at 11:46:56AM +0200, Frank-Michael Moser wrote: > > > I have set up a ssh server under cygwin (WinXP). When i try to > > connect with public key authentication from my linux box i get > > this message from the ssh server: > > > > You are successfully logged in to this server!!! > > d:\cygwin\bin\bash.exe: *** could not load wsock32, Win32 error 126 > > Connection to bigbad closed. > > I encountered exactly the same problem. Please do the following: Stop the sshd service and change the args given to sshd to '-d' (lower case d instead of the usual upper case D). The start the service again and ssh to this machine. The difference now is, that you get a listing of the environment variables propagated to the user shell. Check especially if $PATH is valid and contains the paths to the Windows and the Windows/system32 directory, both in such a way that is matching the *system* mount table. If you don't get a clue, send the output of the environment vars together with the output of the mount command to this list. Don't forget to revert the -d option to -D later. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/