X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 20 Nov 2010 10:09:38 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Win 7 sshd help Message-ID: <20101120090938.GM18309@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4CE6E96A DOT 5070203 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Nov 19 21:11, Bryan wrote: > On Fri, Nov 19, 2010 at 15:17, Kirby Bakken wrote: > > Help. > > > > I recently installed cygwin w/sshd packages on my Win7 pro PC.  I'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.  I CAN ssh to > > my linux box.  Then I change the port-forward in the router to my Win7 box, > > and I got 'permission denied' after the password prompt.  After much > > fiddling, the /etc/host.allow/deny files have somewhere along the line > > disappeared.  Now, 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 Well, openssh is built against tcp_wrappers so the hosts.allow and hosts.deny files are evaluated if they exist. However, if they don't exist, it doesn't matter. > 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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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