diff options
author | pst <pst@FreeBSD.org> | 1997-04-01 03:34:25 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-04-01 03:34:25 +0000 |
commit | e9eab51a5eec87784f85a88e8fa44e3c1cb9d262 (patch) | |
tree | 9498757a8fe4916e888754609848b8da1f1af844 /security/ssh2/pkg-plist | |
parent | 28ed2e7ec5e5377bb6c0285e4cb15d8c0f97c9cc (diff) | |
download | FreeBSD-ports-e9eab51a5eec87784f85a88e8fa44e3c1cb9d262.zip FreeBSD-ports-e9eab51a5eec87784f85a88e8fa44e3c1cb9d262.tar.gz |
Generate host key in /etc to match the port
Diffstat (limited to 'security/ssh2/pkg-plist')
-rw-r--r-- | security/ssh2/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh2/pkg-plist b/security/ssh2/pkg-plist index 29cc5a4..10434a6 100644 --- a/security/ssh2/pkg-plist +++ b/security/ssh2/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 |