sftp: switch from libssh2 to libssh
libssh: https://www.libssh.org/
cf. vlc-android#1508 (comment 348022)
A solution could be moving to libssh (LGPL, no relation to libssh2) that supports these other host key algorithms without needing any apache code. Depends on what the devs of VLC think. But requiring users to enable ssh-rsa when it has been explicitly disabled in the latest mainstream distros (Ubuntu 22.04) is clearly not a great idea.
Edit: I refer to the time when qemu switched from libssh2 to libssh in 2018
TLDR; LGPL and more key algorithms