When using Ghostty, SSH sessions look like shit.
Export the term info to the remote server:
infocmp -x xterm-ghostty | ssh YOUR-SERVER -- tic -x -