I manage software on a bunch of RHEL 6.10 VMs, typically either as a service account or root using sudo -i
. Periodically, my shell starts dropping every other character. For example, if I type
cd /usr/local
what actually shows up is
d/s/oa
It's not just cosmetic; if I press enter there, I get
-bash: d/s/oa: No such file or directory
The only solution I've found is to log out of the sudo session (with ^D^D
because the first one is ignored) and log back in. This leads me to believe it's not an issue with my terminal or ssh client, but just in case, here's the full stack:
Human > Keyboard > Windows 10 > MobaXTerm > WSL OpenSuse > tmux > ssh > bash > sudo
Obviously, I could try removing tmux from the stack, or WSL altogether, but it would cramp my workflow and be difficult to troubleshoot, as it's an intermittent issue I only encounter about once a week.
What could be causing this?