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.20050615103433.03c95d80@pop.prospeed.net> Date: Wed, 15 Jun 2005 10:39:31 -0400 To: "Des Atkinson" , From: Larry Hall Subject: Re: Connection closed message when trying to connect with sftp using public key authentication to OpenSSH 3.7.1p2 on Windows 2003 Server In-Reply-To: <34D62E65D54FDF49B7B4DDDC87BF2F2A482A84@hera.internal.metro n.co.uk> References: <34D62E65D54FDF49B7B4DDDC87BF2F2A482A84 AT hera DOT internal DOT metron DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:14 AM 6/15/2005, you wrote: >I have been trying to connect to OpenSSH on my Windows 2003 Server system using public key authentication. I have tried using both sftp and ssh. In both cases the verbose output shows that the authentication succeeded okay, but the session itself just seems to die with an "Exit status 255" message (followed by "Connection closed" for sftp). > >Is there some additional configuration I need to attempt on my server to make this all work? I am running the CYGWIN sshd service under the Local System account on the server. The Local System account does not have the permissions necessary to permit pubkey authentication to work on W2K3. Did you install with ssh-host-config and ssh-user-config? ssh-host-config will ask you if you want to create the "sshd_server" user that will have the proper permissions to permit pubkey authentication. See 'usr/share/doc/Cygwin/openssh.README' for more details. -- 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/