From 163e1b059b17db40f9d3d560d57f75e84a90a6b2 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Thu, 5 Mar 2026 12:01:07 +0100 Subject: [PATCH] Expansion of %s expansion is no longer happening. The SSH_OPTIONS_SSH_DIR/session->opts.sshdir value is passed through ssh_path_expand_tilde which does not expand %s. Amending f643c34ee85f0542cbb8d9dc63703f61cc142238. Signed-off-by: Jan Pazdziora Reviewed-by: Jakub Jelen --- src/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.c b/src/options.c index 78a48f8e..7c4a1055 100644 --- a/src/options.c +++ b/src/options.c @@ -369,8 +369,8 @@ int ssh_options_set_algo(ssh_session session, * default ssh directory.\n * \n * The ssh directory is used for files like known_hosts - * and identity (private and public key). It may include - * "%s" which will be replaced by the user home + * and identity (private and public key). It may start + * with ~ which will be replaced by the user home * directory. * * - SSH_OPTIONS_KNOWNHOSTS: