From a0153414f625b02a69f3e453f0a77681baffe738 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Tue, 12 Aug 2025 13:36:11 +0900 Subject: [PATCH] fix: call ssh_init() It is necessary to call ssh_init() because libssh is statically linked. --- src/mscp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mscp.c b/src/mscp.c index 6966023..f242010 100644 --- a/src/mscp.c +++ b/src/mscp.c @@ -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: