Let remote server recognise ghostty terminal using SSH From the remote server: infocmp -a xterm-ghostty On local machine: infocmp -x | ssh remote-server-user@ip "tic -x -"