summaryrefslogtreecommitdiff
path: root/security/openssh/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/pkg-plist')
-rw-r--r--security/openssh/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/openssh/pkg-plist b/security/openssh/pkg-plist
index d49a5d5efcdd..22342ca2975d 100644
--- a/security/openssh/pkg-plist
+++ b/security/openssh/pkg-plist
@@ -3,6 +3,7 @@ bin/ssh
bin/ssh-add
bin/ssh-agent
bin/ssh-keygen
+etc/rc.d/sshd.sh
etc/ssh_config
etc/sshd_config
man/man1/scp.1.gz
@@ -13,3 +14,4 @@ man/man1/ssh-keygen.1.gz
man/man1/ssh.1.gz
man/man8/sshd.8.gz
sbin/sshd
+@exec if [ ! -f %D/etc/ssh_host_key ]; then echo "Generating a secret host key..."; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi