For another approach, personally I found just doing `TERM=xterm-256color ssh <server>` more practical than the solutions at https://ghostty.org/docs/help/terminfo#ssh
I guess it isn't a huge deal to have every user to modify their ssh_config instead, but it's an ergonomic pain point for many new users.