delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21,J_CHICKENPOX_66,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Wilfried <wh_ng AT gmx DOT de> |
Subject: | Re: How can I ssh to a Windows box? |
Date: | Thu, 12 Mar 2009 13:41:38 +0100 |
Lines: | 40 |
Message-ID: | <e80ir4dkgcamjqjm2b9v26tgll4398sv4h@4ax.com> |
References: | <alpine DOT DEB DOT 1 DOT 00 DOT 0903091630580 DOT 29189 AT mail DOT cs DOT ndsu DOT nodak DOT edu> <alpine DOT DEB DOT 1 DOT 00 DOT 0903091701480 DOT 29667 AT mail DOT cs DOT ndsu DOT nodak DOT edu> |
Mime-Version: | 1.0 |
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 |
Michael Hennebry <hennebry AT web DOT cs DOT ndsu DOT nodak DOT edu> wrote: > On Mon, 9 Mar 2009, Michael Hennebry wrote: > ... > I've discovered that if I kill the demon, > I still get timeout from the outside, > but connection refused locally. If you can login to ssh locally but not from the outside, perhaps your Windows' firewall is blocking this. > I haven't been able to restart the demon: > /var/empty must be owned by root and not group or world-writeable. You must give the files the correct ownership and access rights: In cygwin, issue: cd / chmod og+w /tmp touch /var/log/sshd.log chown system:system /var/log/sshd.log /var/empty /etc/ssh_h* chmod 755 /var/empty Define the service with the command cygrunsrv -I sshd -p /usr/sbin/sshd Start the service by cygrunsrv -S sshd Stop the service by cygrunsrv -E sshd Hope this helps. -- Wilfried Hennings -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |