Kitty: Vagrant SSH backspace troubles

Created on 3 Jun 2018  路  4Comments  路  Source: kovidgoyal/kitty

When I connect to local virtual machines using VirtualBox & Vagrant, using the command vagrant ssh my backspace/delete key doesn't appear to work. The characters do in fact get deleted from the buffer, however it looks like I am pressing space/tab with the cursor incrementing to the right, and my mistyped commands remaining. I have also noticed it only appears to happen using ZSH in the virtual machine. Using bash results in the expected behaviour.

Kitty Version: 0.10.1
OS: MacOS
OS Version: 10.13.4
Minimal Config: none
Vagrant Version: 2.1.1
VirtualBox 5.2.12
VirtualMachine: Ubuntu 16.04

Most helpful comment

These kinds of things are typically caused by whatever shell you are running on the remote machine (in your case the virtual machine) not having access to the kitty terminfo files. You can remedy that by using the ssh kitten, see the entry in the kitty FAQ about it.

All 4 comments

These kinds of things are typically caused by whatever shell you are running on the remote machine (in your case the virtual machine) not having access to the kitty terminfo files. You can remedy that by using the ssh kitten, see the entry in the kitty FAQ about it.

Thanks, I did read that but I suppose I misunderstood. In any case the ssh kitten worked. Thanks for all your work!

If you only use kitty, you can simply add this alias to your shell rc:

alias ssh="kitty +kitten ssh"

Commenting that this fixed my issue with kitty and ssh, to boost its search engine results.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crocket picture crocket  路  4Comments

marningmol picture marningmol  路  4Comments

Jomik picture Jomik  路  4Comments

metalelf0 picture metalelf0  路  4Comments

RedBeard0531 picture RedBeard0531  路  4Comments