diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 20:09:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 20:09:06 +0000 |
commit | 6b21d1edb81822d495d8f49de9dabc07b87bb3a5 (patch) | |
tree | 4557ac537f19691b93be46147d8fa3b0f7a1261b | |
parent | 32dd4d1fd3261cf0cfe6ae76461f38e321b53245 (diff) | |
download | pfsense-6b21d1edb81822d495d8f49de9dabc07b87bb3a5.zip pfsense-6b21d1edb81822d495d8f49de9dabc07b87bb3a5.tar.gz |
Disable ssh key saving for now.
-rwxr-xr-x | etc/sshd | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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"); |