Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

telnet

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?

like image 855
lockstock Avatar asked Jan 16 '12 00:01

lockstock


People also ask

How do I exit a telnet session?

To exit the Telnet session, type Ctrl + ] on your keyboard. This changes the command prompt to show as telnet>. Back in the terminal, type in the word 'close' to close the session.

How do you check port is open or not using telnet?

Enter "telnet + IP address or hostname + port number" (e.g., telnet www.example.com 1723 or telnet 10.17. xxx. xxx 5000) to run the telnet command in Command Prompt and test the TCP port status. If the port is open, only a cursor will show.

How long does a telnet session last?

By default, Telnet and SSH-interactive sessions have a timeout period of 60 minutes.


1 Answers

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

like image 129
ruakh Avatar answered Sep 30 '22 12:09

ruakh