diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-17 20:10:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-17 20:10:52 +0000 |
commit | c3290534cb15c2f615699f68834947628cf94c38 (patch) | |
tree | 00fe8e297130c37d3da52337b140ef3a4bc991dd | |
parent | 855a098649ebf5e47dcfdc7c9ed1c261c948e765 (diff) | |
download | pfsense-c3290534cb15c2f615699f68834947628cf94c38.zip pfsense-c3290534cb15c2f615699f68834947628cf94c38.tar.gz |
Do not check on config.xml items right now.
-rwxr-xr-x | etc/sshd | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -95,8 +95,9 @@ unset($config['ssh']['rsa1']); unset($config['ssh']['ak']); write_config("Clearing SSH keys from config.xml"); - - if (!file_exists("$sshConfigDir/ssh_host_key") and $config['ssh']['dsa'] == "") { + + //if (!file_exists("$sshConfigDir/ssh_host_key") and $config['ssh']['dsa'] == "") { + if (!file_exists("$sshConfigDir/ssh_host_key")) { /* remove previous keys and regen later */ mwexec("rm /etc/ssh/ssh_host_*"); system("/usr/bin/ssh-keygen -t rsa1 -N '' -f $sshConfigDir/ssh_host_key"); |