Skip to main content

Command Palette

Search for a command to run...

Ghostly

Updated
1 min read
Ghostly

So once I started to use ghostly terminal 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 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 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 or newer):

    # .ssh/config
    Host example.com
      SetEnv TERM=xterm-256color
    

that's it! Enjoy your day ✌️