summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
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