mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
Revert "(sshd) add HostKey to sshd_config to force available hostkeys. closes https://github.com/opnsense/core/issues/1200"
This reverts commit 4e83616c7ec3d3033b72d28767f0edfae93dc6f6. We need more input from the reporter, nobody has ran into this error as far as I could see, testing was ok, and when OpenSSH switches to the next version this will automatically align itself...
This commit is contained in:
parent
c9e4013094
commit
26814679aa
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user