delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/10/07:47:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 10 Nov 2003 13:47:33 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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> <fb0vqvgsl0akuqkqsk5l9ktdablfufo3j6 AT 4ax DOT com>
Mime-Version: 1.0
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 AT dessent DOT 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 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019