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 Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050727102757.03dc53f0@pop.prospeed.net> Date: Wed, 27 Jul 2005 10:35:48 -0400 To: Torsten Bronger , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: sshd forks and fails In-Reply-To: <873bq0figx.fsf@wilson.rwth-aachen.de> References: <873bq0figx DOT fsf AT wilson DOT rwth-aachen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6REa93R031454 At 10:10 AM 7/27/2005, you wrote: >Hallöchen! > >After some trouble with the sshd service, I re-installed the whole >Win2k. The result is that I've come one step further than before. > >The process starts, but sshd doesn't let me in. I've set >CYGWIN="ntsec tty". All sshd-related files in /etc/ have their >owners, groups, and permissions set to what it was after >sshd-config-host had been run. > >I switched off Privilege Separation (it was on after >sshd-config-host), but the rest is set to default values. > >If I try to log in via ssh, I get > >ssh_exchange_identification: Connection closed by remote host > >on the remote machine. At the same time, the line > >762068650 [main] sshd 864 fork_copy: linked dll data/bss pass 0 failed, 0x33B000..0x33B040, done 0, windows pid 116, Win32 error 487 > >is added to /var/log/sshd.log. Apparently sshd folks the child >process 116 which provokes an "invalid address" error 487. > >What can I do about it? Try installing the 'rebase' package from 'setup.exe', stopping all Cygwin services (like 'sshd'), exiting all Cygwin programs (including the (bash) shell), and from a DOS box/cmd.exe prompt, run "C:\cygwin\bin\rebaseall", assuming your Cygwin installation is in "C:\Cygwin". Do this on the server machine. Assuming you get no errors in this process, this should help. If it doesn't, please follow the problem reporting guidelines at . Provide cygcheck information for both the server and the client machine, in addition to the other information requested. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/