Comment by robenkleene

21 days ago

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

That is essentially the 2nd solution recommended. I think ghostty could do this itself as a hack. If the target binary is ssh (heuristic, but, ok), inject TERM=xterm-256color into env of the child process at launch.

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.