diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2021-03-26 16:06:02 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2021-03-26 16:06:02 +0300 |
commit | ea3f232f2e8554e81a6be41ab1785a134798e9e1 (patch) | |
tree | 2c98482f1434d9d0b7eea502c23142d67585897e /src/remmina_ssh_plugin.c | |
parent | 3d7ce6be51070726f52f41aa33861d3a6471e59e (diff) |
Disable cert file auth when libssh < 0.9.0
Closes #2441
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'src/remmina_ssh_plugin.c')
-rw-r--r-- | src/remmina_ssh_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |