feat(config): switch Goliath launch to mosh and tighten key repeat settings

This commit is contained in:
Prad Nukala committed 2026-09-08 11:51:25 -04:00
1 parent 8c50abb602
commit 7c59a7c54e
4 files changed
+38 -5

No files matched your search

+11 -3
View File
@@ -1,7 +1,15 @@
include ssh.conf
listen_on unix:@kitty-goliath
# open straight into goliath's tmux
shell ssh -t goliath tmux new-session -A -s main
# open straight into goliath's tmux, over mosh: the UDP session survives
# suspend, roaming and dead links, and reconnects itself. mosh-server allocates
# the remote pty, so there is no `ssh -t` equivalent to pass. Caveat: mosh runs
# its bootstrap ssh with `-S none`, so it can never ride a ControlMaster --
# non-interactive key auth to goliath must work or every launch prompts for a
# password. Needs mosh on both ends and UDP 60000-61000 open on goliath.
# mosh also rewrites TERM to xterm-256color (it only forwards a color count),
# so xterm-kitty-only capabilities (undercurl, ...) are gone inside the session.
# MOSH_TITLE_NOPREFIX drops mosh's "[mosh] " window-title prefix.
env MOSH_TITLE_NOPREFIX=1
shell mosh goliath -- tmux new-session -A -s main
# structural keys forward to tmux (prefix C-b = \x02)
map super+w send_text all \x02x
map super+t send_text all \x02%