summaryrefslogtreecommitdiff
path: root/security/hpn-ssh/pkg-message
blob: b0908ddd448621fd04041a8fa437559f49a395da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.