aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-11-23 11:04:05 +0800
committergreen <green@FreeBSD.org>1999-11-23 11:04:05 +0800
commit36f085bb9e6d7b293c348c8dc998a89e4cfefb4f (patch)
tree82e64bcb4fbcc6aa9dc37202814dc615b17c34af /security/openssh
parentab5ef6eb9e98127d81d3d85efce16fe97eeb6f72 (diff)
downloadfreebsd-ports-gnome-36f085bb9e6d7b293c348c8dc998a89e4cfefb4f.tar.gz
freebsd-ports-gnome-36f085bb9e6d7b293c348c8dc998a89e4cfefb4f.tar.zst
freebsd-ports-gnome-36f085bb9e6d7b293c348c8dc998a89e4cfefb4f.zip
Correct ssh-keygen usage.
Submitted by: Larry Baird <lab@gta.com>
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 43468970732f..7d1089a4ab6b 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -119,7 +119,7 @@ post-patch:
post-install:
.if !exists(${PREFIX}/etc/ssh_host_key)
@${ECHO_MSG} ">> Generating a secret host key."
- ${PREFIX}/bin/ssh-keygen -N "" ${PREFIX}/etc/ssh_host_key
+ ${PREFIX}/bin/ssh-keygen -N "" -f ${PREFIX}/etc/ssh_host_key
.endif
.if !exists(${PREFIX}/etc/rc.d/sshd.sh)
@${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/sshd.sh