2

I'm connecting to a remote SSH linux server from a windows host using plink. This works correctly, I setup a private/public key and can authenticate without any problem.

Thing is, when using plink once I'm connected the backspace key produces odd characters (something like '<-[K') and I get bell rings from the computer every now and then.

This is really baffling because if I use PuTTY it works fine I can erase using backspace and no bell. What is even more odd is that plink is loading the session that I made using PuTTY.

This is the command I use : plink -load virtual_MMFU Basically, the session works fine when used with PuTTY but whatever I change under keyboard or bell doesn't have any effect when using it with plink.

Leo
  • 121

4 Answers4

1

try command 'stty erase ' first, then you'll find backspace key works as it supposed to be.

Alex
  • 11
0

Just use "MyEnTunnel". It's essentially a plink, but with some ease-of-use functions.

Apache
  • 16,299
0

I run into the same problem earlier today, and I just resolved it.

Basically the problem, at least for me, is not in plink, but is because I call plink under powershell. Characters like <-[00, <-[K are in fact ANSI escape characters, and <-[K means erase in line. But both cmd and powershell does not support this.

I resolve this problem by installing Console2 and AnsiCon following this link.

It is surprising that this question is already two years old without a very good answer. So I just write this and hope it will help anyone who encounter this problem in the future.

Yihan
  • 1
-1

I also experienced this problem in windows 10 recently; this resolution worked for me: https://unix.stackexchange.com/a/315231

It boils down to starting plink with powershell:

powershell C:\path\plink.exe -load

Jeroen
  • 101