The SSH straight into tmux solution uses RemoteCommand and will break things like scp and rsync [1]
I have this in fish config:
function tsh
ssh -o RequestTTY=yes $argv tmux -u -CC new -A -s tmux-main
end
and use `tsh host`[1] https://unix.stackexchange.com/questions/628607/how-to-bypas...