Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2010 00:27:20 +0100
From:      Craig Butler <craig001@lerwick.hopto.org>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSH root login with keys only
Message-ID:  <4BB92058.8070408@lerwick.hopto.org>
In-Reply-To: <hpaut3$4gl$1@dough.gmane.org>
References:  <hpaut3$4gl$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/04/2010 22:04, Marcin Wisnicki wrote:
> Is it possible to configure sshd such that both conditions are met:
>
> 1. Root will be able to login only by using keys
>    
Yes
> 2. Normal users will still be able to use pam/keyboard-interactive
>    
Yes

see PermitRootLogin section in man sshd_config...

/Craig B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB92058.8070408>