Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 00:48:06 -0800 (PST)
From:      Gordon Tetlow <gordont@bluemtn.net>
To:        Pete Fritchman <petef@databits.net>
Cc:        Kris Kennaway <kris@obsecurity.org>, "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>
Subject:   Re:  ssh question
Message-ID:  <Pine.BSF.4.31.0102080047350.20481-100000@sdmail0.sd.bmarts.com>
In-Reply-To: <20010206122136.A27668@databits.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Feb 2001, Pete Fritchman wrote:

> ++ 06/02/01 09:16 -0800 - Kris Kennaway:
> >On Tue, Feb 06, 2001 at 05:27:18PM +0100, Lisa Goulet wrote:
> >> Hi,
> >>
> >> Is it possible to have "PermitRootLogin" enabled but somehow limit it to
> >> only some hosts?
> >
> >Use a key, not a password-based login, and put a host restriction on
> >the key as described in sshd(8).
>
> Would you have to then set PasswordAuthentication to no?

Nope, you can use:
PermitRootLogin without-password

-gordon



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0102080047350.20481-100000>