use openssh proxjump due to an aio read and proxjump issue

https://gitlab.com/libssh/libssh-mirror/-/issues/319
This commit is contained in:
Ryo Nakamura
2025-08-12 12:53:52 +09:00
parent 7fdb4a534e
commit 6716a71575
2 changed files with 39 additions and 3 deletions

View File

@@ -275,6 +275,10 @@ struct mscp *mscp_init(struct mscp_opts *o, struct mscp_ssh_opts *s)
}
pr_notice("bitrate limit: %lu bps", o->bitrate);
/* workaround: set libssh using openssh proxyjump
* https://gitlab.com/libssh/libssh-mirror/-/issues/319 */
ssh_use_openssh_proxy_jumps(1);
return m;
free_out: