17 lines
815 B
Text
17 lines
815 B
Text
To enable this port, please add sshd_program=/usr/local/sbin/sshd and make
|
|
sure sshd_enable is set to YES in your /etc/rc.conf
|
|
|
|
You may also want to put NO_OPENSSH= true in your /etc/make.conf
|
|
and make sure your path is setup to /usr/local/bin before /usr/bin so that
|
|
you are running the port version of openssh and not the version that comes
|
|
with FreeBSD
|
|
|
|
'PermitRootLogin no' is the new default for the OpenSSH port.
|
|
This now matches the PermitRootLogin configuration of OpenSSH in
|
|
the base system. Please be aware of this when upgrading your
|
|
OpenSSH port, and if truly necessary, re-enable remote root login
|
|
by readjusting this option in your sshd_config.
|
|
|
|
Users are encouraged to create single-purpose users with ssh keys
|
|
and very narrowly defined sudo privileges instead of using root
|
|
for automated tasks.
|