Put { Defaults env_keep += "TERM TERMINFO" } in visudo
{ Defaults env_keep += "TERM TERMINFO" }
Run kitty +kitten ssh <SERVER>
kitty +kitten ssh <SERVER>