Skip to content

v0.11.1

Choose a tag to compare

@github-actions github-actions released this 07 Sep 15:22
· 44 commits to main since this release
03412ce

bothy connect works on macOS

v0.11.0 shipped bothy connect untested on macOS, and it did not work there.
Two faults, both found by using it, both fixed.

It worked once, then never again (#235). The mount was released with
fusermount3, which is Linux's. macOS has no such command, so nothing was ever
unmounted — the second connect found the mountpoint occupied and had nowhere to
go. Releasing a mount is now platform-specific, as it always should have been.

bothy connect user@host opened nothing (#236). The session name is built
from the host, and user@host makes a long one. Zellij puts that name in a
unix socket path, and macOS caps those at 104 bytes against Linux's 108 — so
the path overflowed and zellij failed in a way that left escape sequences on
the terminal rather than an error anyone could read. Session names are now
measured against the limit before they are used.

Neither had anything to do with SSH, which is where they looked like they came
from: a host with an ~/.ssh/config entry has a short name and worked, and one
written as user@host did not.

Also

  • macOS is pointed at FUSE-T rather than macFUSE (#233). macFUSE needs a
    kernel extension — on Apple Silicon that means booting into reduced security
    — and Homebrew core dropped sshfs after its licence changed, so the command
    bothy printed no longer existed. FUSE-T needs no kext, and one command
    installs both it and sshfs.
  • An unreachable host fails in ten seconds instead of hanging (#234).
    There was no ConnectTimeout, so a wrong address was a silent two-minute
    wait. bothy also now names the account ssh will log in as, because a bare
    address uses your local username and the failure that follows looks like the
    machine being down.
  • The documentation says why connect asks for a key (#238), and no
    longer uses a real-looking address in its examples (#239).

Upgrading

Nothing to do. If you are on Linux and bothy connect already worked for you,
nothing here changes it.

Changelog

Fixes

  • 9a4ca97: fix: bothy connect works on macOS — the mount is released, and the session name fits (#237) (@bspeelm)
  • 11a1f37: fix: connect fails in ten seconds instead of hanging, and names the account (#234) (@bspeelm)
  • ee7e160: fix: macOS is pointed at FUSE-T, not macFUSE (#233) (@bspeelm)

Documentation

  • 855d96b: docs: say why connect wants a key, and that it is not about safety (#238) (@bspeelm)

Install

curl -fsSL https://raw.githubusercontent.com/bspeelm/bothy/main/bootstrap/install.sh | sh
bothy install

Or, on Debian and Ubuntu, download the .deb below and:

sudo apt install ./bothy_*.deb

Then run bothy.

bothy keeps its own things in ~/.local/share/bothy and your settings in
~/.config/bothy. Your dotfiles are neither read nor written, and
bothy uninstall removes the tree and the binary, naming what it leaves.