summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-03 00:07:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-03 00:07:58 +0000
commit09982081bebb0658025f344eb094951746bce592 (patch)
tree6589f928e70c43cbc6497f7f839d19309be2323a /etc/sshd
parentff21aa6b298802ed85e04a4f36fda2291c4bddbc (diff)
downloadpfsense-09982081bebb0658025f344eb094951746bce592.zip
pfsense-09982081bebb0658025f344eb094951746bce592.tar.gz
newline before running keygen
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/sshd b/etc/sshd
index 3bac620..f7486b3 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -93,6 +93,7 @@
/* remove previous keys and regen later */
conf_mount_rw();
mwexec("rm /etc/ssh/ssh_host_*");
+ echo "\n";
system("/usr/bin/ssh-keygen -t rsa1 -N '' -f $sshConfigDir/ssh_host_key");
system("/usr/bin/ssh-keygen -t rsa -N '' -f $sshConfigDir/ssh_host_rsa_key");
system("/usr/bin/ssh-keygen -t dsa -N '' -f $sshConfigDir/ssh_host_dsa_key");
OpenPOWER on IntegriCloud