Mail Archives: cygwin/2003/11/10/07:47:50
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 -