/*
- * Copyright (c) [2024-2025] SUSE LLC
+ * Copyright (c) [2024-2026] SUSE LLC
*
* All Rights Reserved.
*
if (!ssh_identity.empty())
options.insert(options.end(), { "-i", ssh_identity });
+ if (ssh_master_control)
+ options.insert(options.end(), { "-o", "ControlMaster=auto", "-o", "ControlPath=\"~/.ssh/snbk-%C\"",
+ "-o", "ControlPersist=30s" });
+
return options;
}
/*
- * Copyright (c) [2024-2025] SUSE LLC
+ * Copyright (c) [2024-2026] SUSE LLC
*
* All Rights Reserved.
*
unsigned int ssh_port = 0;
string ssh_user;
string ssh_identity;
+ bool ssh_master_control = true;
Shell get_source_shell() const;
Shell get_target_shell() const;
+-------------------------------------------------------------------
+Thu Mar 12 13:48:06 CET 2026 - Arvin Schnell <aschnell@suse.com>
+
+- enable sharing of ssh sessions (gh#openSUSE/snapper#1087)
+
-------------------------------------------------------------------
Tue Mar 10 10:55:15 CET 2026 - aschnell@suse.com