diff options
-rw-r--r-- | security/openssh-portable/Makefile | 3 | ||||
-rw-r--r-- | security/openssh-portable/pkg-message | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 467ec7bc6841..27a4a4fdc487 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -187,7 +187,8 @@ CONFIGURE_ARGS+= --localstatedir=/var EMPTYDIR= /var/empty PREFIX= /usr ETCSSH= /etc/ssh -USE_RC_SUBR= openssh +USE_RC_SUBR= yes +SUB_FILES+= openssh PLIST_SUB+= NOTBASE="@comment " PLIST_SUB+= BASE="" PLIST_SUB+= BASEPREFIX="${PREFIX}" diff --git a/security/openssh-portable/pkg-message b/security/openssh-portable/pkg-message index 07a8d4e82873..7436aea5d132 100644 --- a/security/openssh-portable/pkg-message +++ b/security/openssh-portable/pkg-message @@ -1,6 +1,8 @@ To enable this port, add openssh_enable="YES" in your rc.conf. To prevent conflict with openssh in the base system add sshd_enable="NO" -in your rc.conf. +in your rc.conf. Also you can configure openssh at another TCP port (via +sshd_config 'Port' and 'Listen' options or via 'openssh_flags' +variable in rc.conf) and run it in same time with base sshd. 'PermitRootLogin no' is the default for the OpenSSH port. This now matches the PermitRootLogin configuration of OpenSSH in |