Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2021-06-01 13:46:05 +0300
committerAntenore Gatta <antenore@simbiosi.org>2021-06-01 13:46:05 +0300
commite6b3e16eef5798c54862594ee3ecc3fbb10f029e (patch)
treea54b994011ac9fd863b3bded00c223638008a407 /src/remmina_ssh_plugin.c
parent9bcce3fca48169ef3b0f5aaf6fe8f7ec85ea41d5 (diff)
SSH session improvements
- Asynchronously save SSH session log (#2513) Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'src/remmina_ssh_plugin.c')
-rw-r--r--src/remmina_ssh_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remmina_ssh_plugin.c b/src/remmina_ssh_plugin.c
index 3dfb556ec..b25c8fee5 100644
--- a/src/remmina_ssh_plugin.c
+++ b/src/remmina_ssh_plugin.c
@@ -1190,9 +1190,8 @@ remmina_plugin_ssh_init(RemminaProtocolWidget *gp)
const gchar *dir;
const gchar *sshlogname;
const gchar *fp;
- GFile *rf;
- rf = g_file_new_for_path(remminafile->filename);
+ GFile *rf = g_file_new_for_path(remminafile->filename);
if (remmina_plugin_service->file_get_string(remminafile, "sshlogfolder") == NULL)
dir = g_build_path("/", g_get_user_cache_dir(), "remmina", NULL);
@@ -1499,6 +1498,7 @@ static const RemminaProtocolSetting remmina_ssh_advanced_settings[] =
{ REMMINA_PROTOCOL_SETTING_TYPE_FOLDER, "sshlogfolder", N_("Folder for SSH session log"), FALSE, NULL, NULL },
{ REMMINA_PROTOCOL_SETTING_TYPE_TEXT, "sshlogname", N_("Filename for SSH session log"), FALSE, NULL, log_tips },
{ REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "sshlogenabled", N_("Log SSH session when exiting Remmina"), FALSE, NULL, NULL },
+ { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "sshsavesession", N_("Log SSH session asynchronously"), FALSE, NULL, N_("Saving the session asynchronously may have a notable performance impact") },
{ REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "audiblebell", N_("Audible terminal bell"), FALSE, NULL, NULL },
{ REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "ssh_compression", N_("SSH compression"), FALSE, NULL, NULL },
{ REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "disablepasswordstoring", N_("Don't remember passwords"), TRUE, NULL, NULL },