I'm sorry for my poor English.
My PC OS is Windows 7.
When I ssh Ubuntu 18.04 remote server (through gateway server), all characters I type are changed by a strange character: ^@
is appended after every character.
For example, I type yes
, then there is y^@e^@s^@
in console.
Also, when I hit backspace key to remove character, it doesn't work. ^H
show up in console.
I'm very confused this strange situation. I found the following posts:
Backspace, Tab not working in terminal (using ssh)
https://superuser.com/questions/641095/bash-how-to-globally-fix-h-and-backspace-problems
But neither helped me.
How do I fix the problem? Where do I check? local config file? remote server? gateway server?
Thank you.
EDIT:
I use PyCharm SSH Terminal.
stty erase
and then pressing the backspace key might help a bit but getting rid of the NUL characters is your first priority. – icarus Jun 12 '20 at 07:09