Browse Source

Updated ssh mounting arguments to make connection more verbose

master
jrtechs 1 day ago
parent
commit
dce4f10a42
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/mount_ssh_drive.py

+ 1
- 1
src/mount_ssh_drive.py View File

@ -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 +

Loading…
Cancel
Save