aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-11-14 18:16:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-11-14 18:16:54 -0300
commit738f628e72d042d90ee842ac85587519ee80004b (patch)
tree88395b79a391907295bdacd83623bc4efda6b7c5 /kvmxfile
parentbecefd261d336ddea831c97dbc732b4c0b9382c8 (diff)
downloadkvmx-master.tar.gz
kvmx-master.tar.bz2
Feat: Persistent SSH connectionsHEAD0.5.0master
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/kvmxfile b/kvmxfile
index dab6f2d..2a10e1e 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -238,6 +238,19 @@ ssh_custom="y"
#ssh_custom_pubkey="/home/myhostuser/.ssh/id_rsa.pub"
#ssh_custom_pubkey="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDVFmJ2UDn2dK3nHHAkHzt8F4AfrXTFiGa+guem92S/pztMGAUDjEZBYEW3mZ8ATyo4GoPZ92tkjmra0Fgv6ETIox+SPWbzzjhzbv2CQUTWvF6PEVwJbT1PTzaIVRiDYf+yX7e3Y8HcmkAi60Cxs5Xr3HLkqdi2jYKFofCm58R+HGnRv1WSurPnf7C7KQBSW7E1S2CafW9VFHhGCzezyThjN+n3bJjgYFzPxdTlWyfW1T7Yv61/fqfuara0kpZx1l5pblpgbCTT7WKRIhwj1x0QTo/qDQ6k52tffiCVyMGJKvires9yp5qT5Y+ldssBKDa8muRF/dh7/UCyxvcm3HTDjWG24Sr4r9JWbhkqF89UePlOw5j73qw4gzT7YQ38tzz2XI5weAL1OXM6qhCbOwfPXwYbB5xM4g62WZugtcCLan6Iy8hvoiRIJ1MU2ar73wunghQQ84oNIrEVezJsuZxwxVbe45ulnM7x4Hqeu6jmOutWFkdkAHsqd1E3zTOS1RURwi0TpnD+iWwD7FOA9c8B6AWP4i9XVW6BLi1waARrS3bVnOh3djc20fVsClfEDDXFg2KiTeQaAWfjLguyUmxysSiUC2pnibd1bEDtdfPlkA2jaE2nAn6Tw7Vp5zd8P1d1trLMx3YkRq5uQSPqnfQDKoYH5FPMlNTbMINLC56ijw== user@kvmx"
+# Enable SSH connection persistence by using ControlMaster, ControlPath and
+# ControlPersist options, as documented at ssh_config(5)
+ssh_persist="y"
+
+# Sets SSH's ControlMaster as documented at ssh_config(5)
+ssh_control_master="auto"
+
+# Sets SSH's ControlPath as documented at ssh_config(5)
+ssh_control_path="$HOME/.ssh/kvmx-${VM}-%r@%h:%p"
+
+# Sets SSH's ControlPersist value as documented at ssh_config(5)
+ssh_persist_seconds="0"
+
# Bootloader (used only during bootstrapping by kvmx-create).
bootloader="grub"