X-Spam-Check-By: sourceware.org Message-ID: <438B7402.1050202@harvard.edu> Date: Mon, 28 Nov 2005 16:17:54 -0500 From: Jack Romano User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin connection closing running on Server 2003 References: <4384D01C DOT 1020502 AT harvard DOT edu> <438531D2 DOT 70207 AT cygwin DOT com> <20051124112616 DOT GB2999 AT calimero DOT vinschen DOT de> In-Reply-To: <20051124112616.GB2999@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MASF: 0.00% X-IsSubscribed: yes 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 Thank you both for your suggestions. I tried running user-ssh-config but the SSH1 RSA creation fails with the message "chmod: changing permissions of '/home/jromano': Permission denied". I continue through the steps and there are no other error messages, but i am still experiencing the same problem. Disabling StrictModes did not help either. What folders or files do I need to change the permissions to, and what changes need to be made? Thank you again, --jack romano Corinna Vinschen wrote: >On Nov 23 22:21, Larry Hall (Cygwin) wrote: > > >>On 11/23/2005, Jack Romano wrote: >> >> >>>I am running Cygwin 1.5.18 on Windows Sever 2003 with all current updates. >>>My problem pertains to OpenSSH 4.2p1-1. I ran the setup script for OpenSSH >>>and used the tool to import my Windows users. I am able to connect to the >>>server both locally and from other machine and am prompted for my >>>password. When I give an erroneous password I am told so. When I give a >>>correct password I am given the "Last Login:..." message (which is >>>correct) but then immediatly "Connection to localhost closed." (localhost >>>replaced by the server name when not connecting locally) and an error 255. >>>This happens for all users (including the Administrator user) and locally >>>and remotely. I have noticed that if after I submit my password I start >>>tapping keys quickly the connection stays open untill I stop -- even for a >>>fraction of a second. I have reinstalled OpenSSH and then Cygwin to no >>>avail. >>> >>>I have attached the verbose output of the ssh connection to the server. >>>The OpenSSH log does not log this failure. >>> >>>Any insight would be appreciated. >>> >>> >>I have a vague recollection of folks having problems like this when they >>didn't have correct permissions on their login directory. You might check >>this. If you can't find the problem this way, try turning off "StrictModes" >>in '/etc/sshd_config' >> >> > >Before you do that, try running ssh-user-config for each user having >this problem. ssh-user-config tries to create correct permissions so >that sshd can access everything. But as usual, YMMV. > > >Corinna > > > -- 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/