# Ghostly


So once I started to use [ghostly terminal](https://ghostty.org/) I can honestly say - yes I enjoy using it but.. Some of my remote machines started to misbihave each time i SSH-ed to them. They put semirandom character into terminal or for instance when I've been pressing *backspace* I saw *space* on the terminal instead .

I thought it is maybe the fact that I use zsh with [oh my zsh](https://ohmyz.sh/) or some weird mapping i have in there .. nope. Switching to other shells didn't help much and then I foudn thje holy grail. This all you have to do in your SSH client settings if you [read manual](https://ghostty.org/docs/help/terminfo#ssh) or you are like me TLDR; 🤦

1.  Configure SSH to fall back to a known terminfo entry using the following SSH configuration (**requires** [**OpenSSH 8.7**](https://www.openssh.com/txt/release-8.7) **or newer**):
    
    ```ssh-config
    # .ssh/config
    Host example.com
      SetEnv TERM=xterm-256color
    ```
    

that's it! Enjoy your day ✌️
