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

依然范特西╮ 提交于 2019-12-21 03:11:35

问题


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



来源:https://stackoverflow.com/questions/8874493/how-can-i-see-what-i-am-typing-in-telnet

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!