From dce4f10a42c84a8e3331c51d710454954743b7e6 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Tue, 17 Feb 2026 17:36:06 -0500 Subject: [PATCH] Updated ssh mounting arguments to make connection more verbose --- src/mount_ssh_drive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount_ssh_drive.py b/src/mount_ssh_drive.py index 7141a8b..07b5276 100644 --- a/src/mount_ssh_drive.py +++ b/src/mount_ssh_drive.py @@ -24,7 +24,7 @@ def mount_drive(remote_connection, remote_mount_point, local_mount_point): """ Calls sshfs to mount a remote connection on a local mount point over ssh """ - runCode = subprocess.call(["sshfs", "-o", "allow_other", + runCode = subprocess.call(["sshfs", "-o", "allow_other,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,compression=yes", remote_connection + ":" + remote_mount_point, local_mount_point]) if runCode == 0: print("Mounted " + remote_connection + ":" + remote_mount_point +