fix: call ssh_init()

It is necessary to call ssh_init() because libssh is statically linked.
This commit is contained in:
Ryo Nakamura
2025-08-12 13:36:11 +09:00
parent 3f8b107d77
commit a0153414f6

View File

@@ -279,6 +279,9 @@ struct mscp *mscp_init(struct mscp_opts *o, struct mscp_ssh_opts *s)
* https://gitlab.com/libssh/libssh-mirror/-/issues/319 */
ssh_use_openssh_proxy_jumps(1);
/* call ssh_init() because libssh is statically linked */
ssh_init();
return m;
free_out: