delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4CE6E96A.5070203@gmail.com> |
References: | <4CE6E96A DOT 5070203 AT gmail DOT com> |
From: | Bryan <brakeb AT gmail DOT com> |
Date: | Fri, 19 Nov 2010 21:11:45 -0600 |
Message-ID: | <AANLkTi=qJxXZvhwGzJ-2N_6WRWq_Q3N9T6Ro1LTNhBqf@mail.gmail.com> |
Subject: | Re: Win 7 sshd help |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Fri, Nov 19, 2010 at 15:17, Kirby Bakken <bakkenkl AT gmail DOT com> wrote: > Help. > > I recently installed cygwin w/sshd packages on my Win7 pro PC. =C2=A0I've= gotten > ssh to work both with localhost, and with the LAN IP address. > > However, trying to ssh from 'outside' my router doesn't work. =C2=A0I CAN= ssh to > my linux box. =C2=A0Then I change the port-forward in the router to my Wi= n7 box, > and I got 'permission denied' after the password prompt. =C2=A0After much > fiddling, the /etc/host.allow/deny files have somewhere along the line > disappeared. =C2=A0Now, I get a timeout... > > Questions: > > 1) are the host.allow and deny files required? hosts.allow and hosts.deny only work if you compiled using tcp_wrappers > 2) are there any known problems with sshd running on Win7? > I use SSHd on several Windows 7 machines (when I'm not on my native OpenBSD laptop) > Before I 'munged' my installation and the allow/deny files diisappeared, I > had tried su and login, and got permission denied errors.... > > I've un-installed sshd and re-installed it several times.... > > The /var/log/sshd.log file is oddly empty... =C2=A0Trying to run /usr/sbi= n/sshd > =C2=A0and not as a service hasn't worked. > > Ideas? =C2=A0Suggestions? > > Kirby > Disable your windows 7 firewall, or make it so that it passes port 22. If you are remote, make sure your ISP isn't blocking port 22 inbound to your router. I had an ISP that blocked a lot of ports below 1024. -- 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 |