linux:sshfs
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:sshfs [2020/07/19 23:53] – created Wuff | linux:sshfs [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== sshfs auto reconnect ====== | ====== sshfs auto reconnect ====== | ||
| - | Scenario: using SSHFS mounts from my laptop to a central server, the SSHFS mount is broken after a longer disconnect (e.g. during suspend), | + | Scenario: using SSHFS mounts from laptop to a central server, the SSHFS mount is broken after a longer disconnect (e.g. during suspend), |
| Use -o reconnect, | Use -o reconnect, | ||
| - | The combination ServerAliveInterval=15, | + | The combination ServerAliveInterval=15, |
| In other words what happens on -o reconnect without assigning ServerAliveInterval is that any I/O will either succeed, or hang the application indefinitely if the ssh reconnects underneath. A typical application becomes entirely hung as a result. If you'd wish to allow I/O to return an error and resume the application, | In other words what happens on -o reconnect without assigning ServerAliveInterval is that any I/O will either succeed, or hang the application indefinitely if the ssh reconnects underneath. A typical application becomes entirely hung as a result. If you'd wish to allow I/O to return an error and resume the application, | ||
linux/sshfs.1595199204.txt.gz · Last modified: (external edit)