Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 23:49:59 +0200
From:      Julian Fagir <gnrp@gnrp.in-berlin.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: SSH root login with keys only
Message-ID:  <20100404234959.23966b02@eselhitler>
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
Hi,

> Is it possible to configure sshd such that both conditions are met:
> 
> 1. Root will be able to login only by using keys
> 2. Normal users will still be able to use pam/keyboard-interactive

perhaps the sshd-option "PermitRootLogin" does match your requirements.
To be found in sshd_config (5).


Regards, Julian



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