how to allow user toor login through ssh
Maciej Suszko
maciej at suszko.eu
Tue Jan 3 13:24:19 UTC 2017
On Tue, 3 Jan 2017 19:15:54 +0800
Ben Woods <woodsb02 at gmail.com> wrote:
> The openssh daemon prevents login as root or toor (any user with UID
> 0) in the default configuration that ships with FreeBSD.
>
> This can be adjusted by setting the following in /etc/ssh/sshd_config:
> PermitRootLogin yes
>
> Note however, that it is not generally advisable to allow root or toor
> login via ssh, as this is a frequently attempted username for script
> kiddies and bots running random brute force attacks. Tread wisely.
>
> Regards,
> Ben
However it's quite simple to restrict root login using Match block, for
example ;-) ... just leave 'no' globally.
Match Address 10.0.0.0/27
PermitRootLogin yes
--
regards, Maciej Suszko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170103/1044a00b/attachment.sig>
More information about the freebsd-questions
mailing list