diff options
author | Paul Traina <pst@FreeBSD.org> | 1997-04-01 03:34:25 +0000 |
---|---|---|
committer | Paul Traina <pst@FreeBSD.org> | 1997-04-01 03:34:25 +0000 |
commit | 37bbce243a47a80f3097176a740877cc6fa214da (patch) | |
tree | d7f4348ec973b18f0bc8a50429a9939c7b65a658 /security/ssh | |
parent | f032ebd13d37483d10da25e6a0fe584c0262bb03 (diff) | |
download | ports-37bbce243a47a80f3097176a740877cc6fa214da.tar.gz ports-37bbce243a47a80f3097176a740877cc6fa214da.zip |
Generate host key in /etc to match the port
Notes
Notes:
svn path=/head/; revision=6081
Diffstat (limited to 'security/ssh')
-rw-r--r-- | security/ssh/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist index 29cc5a46d340..10434a6426c4 100644 --- a/security/ssh/pkg-plist +++ b/security/ssh/pkg-plist @@ -20,5 +20,5 @@ man/man1/ssh.1.gz @unexec rm -f %B/slogin.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 -@unexec rm -f %D/etc/ssh_host_key +@exec if [ ! -f /etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f /etc/ssh_host_key; fi +@unexec rm -f /etc/ssh_host_key |