Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 10 Nov 2003 13:47:33 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: How to force passfile-login via SSL?
Message-ID: <20031110124733.GI18706@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <6.0.0.22.2.20031110003400.02c5c288@mail.spoonworx.com> <3FAED6A6.BA98DEF2@dessent.net> <fb0vqvgsl0akuqkqsk5l9ktdablfufo3j6@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <fb0vqvgsl0akuqkqsk5l9ktdablfufo3j6@4ax.com>
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 <brian@dessent.net>
> 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@cygwin.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/

