www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 AT gmail DOT com> |
Reply-To: | baykusderki AT gmail DOT 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 AT cygwin DOT com |
Subject: | Re: Cannot run SSH |
References: | <4B0894B3 DOT 1020300 AT gmail DOT com> <f4d6f44b0911211929r35d1f1e1y9bbdf80c03f95f9e AT mail DOT gmail DOT com> <4B08B377 DOT 5000003 AT gmail DOT com> <20091122002436 DOT 461778cd AT travel> <4B08D0B7 DOT 6060403 AT gmail DOT com> <20091122010058 DOT 70fd4328 AT travel> <4B08DA2F DOT 8050401 AT gmail DOT com> <379148 DOT 54121 DOT qm AT web38203 DOT mail DOT mud DOT yahoo DOT com> |
In-Reply-To: | <379148.54121.qm@web38203.mail.mud.yahoo.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |