Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 10 Nov 2003 13:47:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: How to force passfile-login via SSL? Message-ID: <20031110124733.GI18706@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <6 DOT 0 DOT 0 DOT 22 DOT 2 DOT 20031110003400 DOT 02c5c288 AT mail DOT spoonworx DOT com> <3FAED6A6 DOT BA98DEF2 AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Mon, Nov 10, 2003 at 01:18:24PM +0100, Ralf Steinhaeusser wrote: > On Sun, 09 Nov 2003 16:07:02 -0800, Brian Dessent > wrote: > > >> Cygwin's SSH is the only incoming contact point of our server with the > >> Internet, the rest protected by a firewall. > >> Because our passwords are potentially weak (=short), and also to give > >> remote-access to only a limited set of users, I want to configure Cygwin to > >> allow connections with SSH only when they try to log in via a keyfile. (So > >> NOT via Username/Password of any NT-User). > > > >Have a look at "man sshd_config". I think the directive you want is > >"PasswordAuthentication no". > > That's it, now everything works perfectly! > Thanks a lot. > > Btw: Is there a way to "restart" Cygwin, so changes in such a file > take effect without restarting Windows? Cygwin is no service and has nothing to do with that file. What you want is restarting the sshd service. `net start' and `net stop' or `cygrunsrv' are your friend. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/