]> git.ipfire.org Git - thirdparty/curl.git/commit
sshserver: fix excluding obsolete client config lines
authorViktor Szakats <commit@vsz.me>
Fri, 21 Mar 2025 13:36:46 +0000 (14:36 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 23 Mar 2025 19:26:35 +0000 (20:26 +0100)
commitb214acbb0c58a1ad1097058c22fb3b5509b98a85
tree79c925833856ebf7f75cea29ea7aeb66d86b35e2
parentfd6e6e8c7a172521e21c2fc4c64e881b36a86918
sshserver: fix excluding obsolete client config lines

It was already excluded for OpenSSH-Windows. Extend it to all OpenSSH
above v7.3. Syncing up this logic with the sshd server config.

Fixing, in `sftp_server.log`:
```
log/server/curl_sftp_config line 33: Unsupported option "rhostsrsaauthentication"
log/server/curl_sftp_config line 34: Unsupported option "rsaauthentication"
```

`no` has been the default for these since OpenSSH 3.3 (2002-06-21).

Closes #16784
tests/sshserver.pl