如何查看我在 telnet 中输入的内容? [英] How can I see what I am typing in telnet?

查看:73
本文介绍了如何查看我在 telnet 中输入的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 telnet 命令时:

When using telnet by using the command:

telnet <host ip> <port>

我可以连接,但是我看不到我正在输入的内容.

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

所以我尝试:

telnet
set localecho
open <host ip> <port>

但这一次它只是挂起消息:

But this time it just hangs with the message:

Connecting to <host ip>...

设置localecho后如何才能成功使用telnet?

How can I use telnet successfully after setting localecho?

推荐答案

其实并没有挂;只是,出于某种原因,它没有给出任何反馈以表明它已连接.如果您开始输入,您会看到您的输入显示在窗口的左上角,覆盖了已有的内容.例如:

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

你可以看到我输入了GET/HTTP/1.1,覆盖了Welcome to Mic.

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

(顺便说一句,请注意,我不必键入 set localecho:对我而言,当我不带参数启动 telnet 时,local-echo 已经开启,并且我敢打赌这对你来说是一样的.)

(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 中输入的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆