summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-10 20:09:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-10 20:09:06 +0000
commit6b21d1edb81822d495d8f49de9dabc07b87bb3a5 (patch)
tree4557ac537f19691b93be46147d8fa3b0f7a1261b /etc/sshd
parent32dd4d1fd3261cf0cfe6ae76461f38e321b53245 (diff)
downloadpfsense-6b21d1edb81822d495d8f49de9dabc07b87bb3a5.zip
pfsense-6b21d1edb81822d495d8f49de9dabc07b87bb3a5.tar.gz
Disable ssh key saving for now.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/sshd b/etc/sshd
index 754c1f0..73ad98b 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -75,8 +75,15 @@
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");
+
}
+ system("/usr/sbin/sshd");
+ fwrite($stderr, "Done.\n");
+
+
+ /* exit early, this needs more testing. */
+
if (!file_exists("$sshConfigDir/ssh_host_key") and $config['ssh']['dsa'] == "") {
/* generate keys */
system("/usr/bin/ssh-keygen -t rsa1 -N '' -f $sshConfigDir/ssh_host_key");
OpenPOWER on IntegriCloud