LocalCommand printf "\033]11;#4a0000\a"
#To restore:
printf "\033]111\a"
set -g status-bg
See also
/etc/ssh/ssh_config, ~/.ssh/config (man), RemoteCommand, RequestTTY, ServerAliveInterval, UseKeychain, ForwardAgent, ProxyJump, ControlMaster, ControlPath, ControlPersist