How can I see what I am typing in telnet? [closed]

2019-03-22 17:01发布

问题:

When using telnet by using the command:

telnet <host ip> <port>

I can connect but then I cannot see what I am typing.

So I try:

telnet
set localecho
open <host ip> <port>

But this time it just hangs with the message:

Connecting to <host ip>...

How can I use telnet successfully after setting localecho?

回答1:

It actually isn't hanging; it's just that, for some reason, it doesn't give any feedback to show that it's connected. If you start typing, you'll see that your input shows up in the upper-left hand corner of the window, overwriting what's already there. For example:

GET / HTTP/1.1rosoft Telnet Client

Escape Character is 'CTRL+]'

Microsoft Telnet> open example.com 80
Connecting To example.com...

You can see that I've typed GET / HTTP/1.1, overwriting Welcome to Mic.

(By the way, notice that I didn't have to type set localecho: for me local-echo was already on when I launched telnet without arguments, and I'm betting that for you it's the same.)



标签: telnet