diff --git a/src/etc/rc.sshd b/src/etc/rc.sshd index bbb32a462..afb63b952 100755 --- a/src/etc/rc.sshd +++ b/src/etc/rc.sshd @@ -105,9 +105,6 @@ if (isset($sshcfg['passwordauth'])) { $sshconf .= "ChallengeResponseAuthentication no\n"; $sshconf .= "PasswordAuthentication no\n"; } -foreach ($keys as $key) { - $sshconf .= "HostKey {$etc_ssh}/{$key}\n"; -} /* Write the new sshd config file */ file_put_contents("{$etc_ssh}/sshd_config", $sshconf);