X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B0AE7FB.5030609@gmail.com>
Date: Mon, 23 Nov 2009 13:52:27 -0600
From: baykusderki <baykusderki@gmail.com>
Reply-To: baykusderki@gmail.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b2pre) Gecko/20081118 Shredder/3.0b1pre Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cannot run SSH
References: <4B0894B3.1020300@gmail.com>  <f4d6f44b0911211929r35d1f1e1y9bbdf80c03f95f9e@mail.gmail.com>  <4B08B377.5000003@gmail.com>  <20091122002436.461778cd@travel>  <4B08D0B7.6060403@gmail.com> <20091122010058.70fd4328@travel> <4B08DA2F.8050401@gmail.com> <379148.54121.qm@web38203.mail.mud.yahoo.com>
In-Reply-To: <379148.54121.qm@web38203.mail.mud.yahoo.com>
Content-Type: text/plain; charset=windows-1254; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 11/23/2009 1:32 PM, Alexander Quinn wrote:
> FWIW, I had the exact same problem.  This was under Cygwin 1.5 (not 1.7) and Win7 (build 7600 enterprise release).  The OpenSSH server worked for a few days and then stopped working with similar symptoms to you.  I eventually got it working again.  After working for a couple more days, it broke again.  Nevertheless, this is what I did to make it work after not working.  I realize some of this may be unnecessary or even counterproductive.  I don't know enough Cygwin and/or Windows to say what made a difference so I'm just telling you what I did in the off chance that it helps somebody find the real problem.
>
>
> 1. Stop and delete the service:
>      cygrunsrv --stop sshd
>      cygrunsrv --remove sshd
> 2. Remove the cyg_server user via Windows.
> 3. Restart system.
> 4. From bash, run ssh-host-config to recreate user and sshd service.  Answer yes to everything except allow cyg_server to be the name of the user.
> 5. Manually set the password for the cyg_server user from Cygwin.  Make it 10 characters with only alphanumeric (i.e. "abcDEF1234" - not my password obviously).
>      passwd cygserver
> 6. Go into Services, properties of the sshd service, Log On tab.  Manually set that to the stored log on password for the service.
> 7. Close bash if it's still open.
> 8. Start-->Run-->"ash" and run the rebaseall command.
> 9. From the command prompt, run net start sshd.
>
> Please forgive the superfluous details.  Good luck!
>
>
> Alex
>
>    
Hi

Thanks for the help offer, I desperately need it here :)


I actually have tried all those steps many times :( including rebasing. 
But I will try these again in the order of steps you have provided.  The 
only thing I did not try was using alphanumeric password


thanks again





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

