diff options
-rwxr-xr-x | tests/sshserver.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 0b4ce20dc..2a6956189 100755 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -577,6 +577,7 @@ push @cfgarr, "AuthorizedKeysFile2 $clipubkeyf_config"; push @cfgarr, "HostKey $hstprvkeyf_config"; if ($sshdid !~ /OpenSSH-Windows/) { push @cfgarr, "PidFile $pidfile_config"; + push @cfgarr, '#'; } if(($sshdid =~ /OpenSSH/) && ($sshdvernum >= 880)) { push @cfgarr, 'HostKeyAlgorithms +ssh-rsa'; @@ -725,7 +726,7 @@ push @cfgarr, '#'; # if(sshd_supports_opt('AddressFamily','any')) { # Address family must be specified before ListenAddress - splice @cfgarr, 14, 0, 'AddressFamily any'; + splice @cfgarr, 11, 0, 'AddressFamily any'; } if(sshd_supports_opt('Compression','no')) { push @cfgarr, 'Compression no'; |