feat: mount remote home dir by default
Less surprising than mounting / — users typically want their own files, and accessing system paths still works via absolute paths.
This commit is contained in:
@@ -107,7 +107,7 @@ func mount_sshfs(hostname string, user string, ifile string, port string, mount
|
||||
"-o", "reconnect",
|
||||
"-o", "ServerAliveInterval=15",
|
||||
"-o", "ServerAliveCountMax=3",
|
||||
user+"@"+hostname+":/", mount)
|
||||
user+"@"+hostname+":", mount)
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
return cmd.Run()
|
||||
|
||||
Reference in New Issue
Block a user