Skip to content

v2.1.2: Remount After Network Drop

Latest

Choose a tag to compare

@uhs-robert uhs-robert released this 02 Nov 19:06
· 1 commit to main since this release

Fixes

  • Mounting a host whose mount died, for example after a network drop, now replaces the dead mount. Before, the plugin only warned "already mounted", and you had to unmount by hand. (#29, thanks @80avin for the report)
  • The shared SSH connection now gets the ServerAlive* options from sshfs_options. It exits within about 45 seconds of a drop, so sshfs reconnect can recover the mount without help. This needs key auth.
  • ServerAlive* entries are split on commas and matched in any case, so ServerAliveInterval=15,ServerAliveCountMax=3 works as one entry.

Requirements

  • Yazi 26.1.22 or newer is required. An older Yazi now refuses to load the plugin with a version message, instead of failing at runtime. (#28)
  • ya 25.12.29 or newer is required, so that every plugin file installs.

Upgrade note

If your config replaces sshfs_options, add "ServerAliveInterval=15" and "ServerAliveCountMax=3" to your list. Without them, a dead mount recovers only when you mount again.

Full Changelog: v2.1.1...v2.1.2