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

2019-03-22 16:24发布

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?

标签: telnet
1条回答
爷、活的狠高调
2楼-- · 2019-03-22 17:13

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.)

查看更多
登录 后发表回答