From ea3f232f2e8554e81a6be41ab1785a134798e9e1 Mon Sep 17 00:00:00 2001 From: Antenore Gatta Date: Fri, 26 Mar 2021 14:06:02 +0100 Subject: Disable cert file auth when libssh < 0.9.0 Closes #2441 Signed-off-by: Antenore Gatta --- src/remmina_ssh_plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/remmina_ssh_plugin.c') diff --git a/src/remmina_ssh_plugin.c b/src/remmina_ssh_plugin.c index acf95a808..88df217f2 100644 --- a/src/remmina_ssh_plugin.c +++ b/src/remmina_ssh_plugin.c @@ -1390,7 +1390,9 @@ static const RemminaProtocolSetting remmina_ssh_basic_settings[] = { REMMINA_PROTOCOL_SETTING_TYPE_TEXT, "username", N_("Username"), FALSE, NULL, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_PASSWORD, "password", N_("User password"), FALSE, NULL, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_FILE, "ssh_privatekey", N_("SSH identity file"), FALSE, NULL, NULL }, +#if LIBSSH_VERSION_INT >= SSH_VERSION_INT(0, 9, 0) { REMMINA_PROTOCOL_SETTING_TYPE_FILE, "ssh_certfile", N_("SSH certificate file"), FALSE, NULL, NULL }, +#endif { REMMINA_PROTOCOL_SETTING_TYPE_PASSWORD, "ssh_passphrase", N_("Password to unlock private key"), FALSE, NULL, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_TEXT, "exec", N_("Start-up program"), FALSE, NULL, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_END, NULL, NULL, FALSE, NULL, NULL } -- cgit v1.2.3