Skip to main content

Questions tagged [telnet]

Telnet is a client-server protocol used to allow communication between computers in a network.

Filter by
Sorted by
Tagged with
484 votes
6 answers
812k views

How do I exit telnet?

I start telnet by telnet host port. How do I stop it in Windows? Shockingly, Ctrl+C doesn't work.
Val's user avatar
  • 6,215
136 votes
6 answers
1.1m views

How to telnet to an IP address on a specific port?

Can anyone tell me how to telnet to an address using a specific port? I've tried the following: telnet 10.1.1.55 I suppose a route just hasn't been set up between the two hosts? What I am trying ...
user avatar
88 votes
5 answers
100k views

Can the telnet or netcat clients communicate over SSL?

I would like to test client connections with IMAP over SSL, HTTPS, and other secure text-based Internet protocols over SSL/TLS, the same way I would using telnet or netcat if they were not tunneled ...
user553702's user avatar
  • 1,371
37 votes
1 answer
43k views

What is the difference between telnet and netcat?

I am looking for an explanation where I can find the difference between telnet and netcat. In which cases should I use telnet and netcat? What a telnet can do that netcat can not do and vice versa? I ...
rbashish's user avatar
  • 496
32 votes
5 answers
125k views

How to generate UDP packet

I want to generate UDP packet to test a program, something equivalent to using telnet to test TCP port (Can telnet generate UDP packet?) How can I do this?
Lydon Ch's user avatar
  • 6,029
29 votes
3 answers
174k views

'telnet' is not recognized as an internal or external command,operable program or batch file

I'm working on an InfoSec exercise, specifically sending emails in cmd that makes use of telnet. Unfortunately, I can't start it. I'm receiving the "'telnet' is not recognized as an internal or ...
user311226's user avatar
25 votes
7 answers
63k views

How do I quit telnet without using standard Ctrl+] combination?

The title says it all. Note that I'm using a non-US layout, Norwegian, so I can't create the Ctrl+] combination. I've found the trick before, but can't find it.
Trygve Laugstøl's user avatar
23 votes
5 answers
65k views

Windows equivalent of ssh - how to connect to a remote machine and access command line?

I'm having a difficult time coming up with a solution to extend a framework that was designed for *nix machines over to windows. The framework currently runs from one *nix server and ssh's out to ...
user avatar
21 votes
5 answers
53k views

Is there a telnet utility for windows?

Is there a simple telnet command line utility for Windows 7? I am used to the telnet command that is built into UNIX, but I can't seem to find one for Windows that can be used similarly.
ewok's user avatar
  • 4,291
21 votes
1 answer
6k views

Who logged into my printers?

This April 1st, someone logged into the printers and changed the ready screen to "vote for josh" on numerous HP LaserJet printers. I know that they must have logged in via telnet. And I found this ...
j0h's user avatar
  • 1,470
18 votes
2 answers
61k views

How to type non-printable ASCII characters in Mac OS X Terminal? [duplicate]

To communicate with a serial-type device over a telnet socket, I need to type the null character (ASCII 0) and all other non-printable ASCII characters. On Windows, you hold ALT and type the ASCII ...
davidcann's user avatar
  • 283
17 votes
2 answers
78k views

Closing telnet connection gracefully from session mode itself without going to telnet prompt

a normal telnet connection is like this: telnet localhost 22 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SSH-2.0-OpenSSH_4.2 ^] telnet> close Connection closed. I want to ...
Kumar Alok's user avatar
  • 1,643
15 votes
4 answers
154k views

SendKeys Method in Powershell

I have batch file for telnet a server automatically, I want to do the same thing with PowerShell Batch File named Script.bat : :: Open a Telnet window start telnet.exe 10.84.10.85 :: Run the script ...
yazan's user avatar
  • 397
15 votes
2 answers
8k views

How to stop and detect the fork bomb

#include <stdlib.h> #include <unistd.h> int main() { while(1) fork(); } This is the code for a fork bomb. In our college, we connect via telnet i.e client serving protocol. ...
Rajesh M's user avatar
  • 251
14 votes
8 answers
5k views

Save me from gibberish terminal

While logged in to a remote ssh session, sometimes I do cat to the wrong file (a binary or a diretory) and the display converts to gibberish. The only way out is to close the terminal and open a new ...
flybywire's user avatar
  • 4,090
13 votes
6 answers
23k views

where is the '^]' character on an azerty keyboard?

I am currently using telnet and i need to do an escape character (SMTP), where is this character on an azerty keyboard? (linux ubuntu).
Sylario's user avatar
  • 925
13 votes
1 answer
22k views

Can I abort telnet while it is still trying to connect?

At times I find myself telnetting from Windows XP to another server and that I state a wrong port number such as c:\> telnet xxxxx.yy pp After hitting Enter, I realize that I entered the wrong ...
René Nyffenegger's user avatar
12 votes
2 answers
30k views

Feeding contents of a text file as command to telnet

With the command telnet docs.python.org 80, I can do a manual HTTP request to http://docs.python.org/2/license.html, by typing the actual request. Now, instead of typing it in live, I'd like to feed ...
Bentley4's user avatar
  • 1,938
11 votes
1 answer
30k views

How does one browse a website using Telnet?

When you connect to an open port 80 (HTTP) through Telnet, shouldn't the client display a plaintext version of the site? All I get is a blank screen, and then the client disconnects. I know you can ...
user avatar
11 votes
4 answers
48k views

Telnet won't run from cmd prompt in windows 7

Edit:I am running windows 7, 64 bits. I have Telnet Client installed, and if I go to c:\windows\system32 i do find the file "telnet.exe"; if I click it, telnet runs perfectly. However, if I type ...
Sampaio's user avatar
  • 257
9 votes
2 answers
8k views

Why isn't Telnet enabled by default in Windows 7?

When I pinged my mailserver from the command prompt using: telnet mail.mydomain.com 25 I got the error Telnet is not a recognized command. I looked for a workaround and then found that Telnet was ...
ACP's user avatar
  • 1,589
9 votes
3 answers
3k views

Isn't localhost simply 127.0.0.1 on Mac OS X 10.7 (Lion)?

I tried telnet localhost on Mac OS X Lion, and this is the output I got. Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127....
tony_sid's user avatar
  • 14.5k
9 votes
1 answer
2k views

Can a Telnet server detect the client being used through the protocol?

While web browsers send, among other things, the User-Agent string, does the Telnet protocol have a similar method of determining anything about the client connecting to it? OS? Specific Telnet client?...
Thufir's user avatar
  • 1,650
8 votes
6 answers
6k views

Lightweight tool for viewing raw HTTP messages?

I'm investigating differences in behaviour between a couple of Web servers. I need to see raw response data from the servers (i.e. before the response is de-chunked if it has "Transfer-Encoding:...
rewbs's user avatar
  • 405
7 votes
4 answers
110k views

How to test port by telnet command on localhost?

I have windows Xp , I want to test some port , someone advice me to use telnet command on localhost to test it . but i don't know how i can do it (syntax of telnet command on local host) ?
Mohammad AL-Rawabdeh's user avatar
7 votes
3 answers
3k views

Can everything be done in Telnet?

Is it true that everything you do on the web such as web browsing and reading email you can do with Telnet?
tony_sid's user avatar
  • 14.5k
7 votes
3 answers
22k views

How to record or log telnet session using the command line?

I need to record the output of a telnet session. I can't just pipe or output it because I need to authenticate first. How I can achieve this log?
Guilherme Viebig's user avatar
7 votes
1 answer
11k views

Configure Putty to send Telnet data without pressing Enter?

Is there a way to configure Putty in telnet mode to send data from the keyboard immediately, without having to press enter? For example, when using Windows telnet, if i connect to my server and press ...
P.S.'s user avatar
  • 257
7 votes
2 answers
1k views

How to set up a reverse Telnet on Mac OS X

I am trying to set up a reverse Telnet (Telnet to COM) on Mac OS X 10.9.5 (Mavericks). The Mac is connected to a serial device. I have no problem accessing the serial device from the Mac using screen: ...
some user's user avatar
  • 2,547
6 votes
7 answers
42k views

connect two computers together via a rs232 serial port

Wondering if anyone knows of a solution to connect with telnet/ssh through a rs232 serial port Edit: I am looking for a way to connect to computers together via a serial port. I want to be able to ...
Richard's user avatar
  • 941
6 votes
2 answers
20k views

How to save console output still showing it

I need to troubleshoot a telnet session and send save it's results to another person. When I use redirection I save the contents of my session, but I'm not able to see it on console. How to pipe ...
Rafael Borja's user avatar
6 votes
1 answer
3k views

Telnet escape sequence for Swedish keyboard layout

What is the default Telnet escape sequence in Windows XP/Vista/7 when using Swedish keyboard layout? Ctrl-] doesn't work.
Carl Winbäck's user avatar
6 votes
3 answers
11k views

Does telnet client represent a security threat on Windows?

Yesterday I needed a telnet client to connect to my ADSL router and none of the three Windows Seven computers at my home had it(Win Home Premium 32 PC, Win Professional 64 notebook and Win Ultimate 32 ...
Diogo's user avatar
  • 30.5k
6 votes
5 answers
18k views

Is there a way to download through telnet

I am transfering colleges and I have a lot of files from the first college that I would like to keep. The files are are on a Sun server which I can only access using telnet. Is there a way to download ...
Josh Curren's user avatar
6 votes
2 answers
6k views

Using telnet under windows to test HTTP

I'm learning http, and trying to use telnet to send my own http requests. In the command prompt, I entered: telnet google.com 80 Result: The screen is cleared and I see a blinking cursor. 1. Why ...
user avatar
6 votes
3 answers
18k views

Telnet stuck on "connecting"

I am trying to telnet a port at a client's location. It shows connecting.... for a long time but doesn't outputs any error message. The port is opened and other vendors are able to telnet the same ...
Server admin's user avatar
6 votes
0 answers
2k views

Telnet connect to localhost failed on windows subsystem WSL2 Ubuntu

I'm using Windows Subsystem (WSL2) Ubuntu 20.04, trying to run command telnet localhost 2181, but only got error message saying telnet: Unable to connect to remote host: Connection refused Tried the ...
Cherry Wu's user avatar
  • 161
5 votes
2 answers
27k views

How to install Telnet from a PowerShell Core prompt

To install Telnet in PowerShell you can run: Install-WindowsFeature -name Telnet-Client This unfortunately does not seem to work in PowerShell Core where it produces the following error: Install-...
Marco Lackovic's user avatar
5 votes
6 answers
52k views

Is it possible to shutdown a remote computer running Windows 7 via Telnet?

I've successfully connected to my Windows 7 desktop over wifi via Telnet from an XP Home netbook. To login, I use the following command: telnet -l "win7desktop\win7user" win7desktop win7user in this ...
Ryan Shripat's user avatar
  • 1,009
5 votes
2 answers
18k views

Is enabling telnet a security concern?

Why is it that Vista comes with telnet disabled? If i enable it, is it a potential risk? Also, in the list there is "telnet client" and "telnet server". I'm wondering what's the difference between ...
Pacerier's user avatar
  • 27.4k
5 votes
3 answers
994 views

/usr/bin/reset disables backspace

Following this question, running /usr/bin/reset destroys my backspace functionality. What can I do? After pressing backspace I get ^?
flybywire's user avatar
  • 4,090
5 votes
1 answer
13k views

Using Telnet in Windows 10?

I'm learning some HTTP and need to use Telnet for testing purposes. I tried almost every possible input I found on the Internet, but it doesn't help, I first open Telnet command window, then Enter: ...
mshwf's user avatar
  • 505
5 votes
2 answers
23k views

How does telnet get through the windows firewall?

I activated the Telnet client in Windows 7 and was instantly able to connect to servers although Windows Firewall is activated. How does that work? Shouldn't the firewall block outgoing connections ...
magnattic's user avatar
  • 1,246
5 votes
3 answers
30k views

How to fix: Access Denied: Specified user is not a member of TelnetClients groups?

I have two computers one running windows xp(professional) and other is windows 7(Home premium).I want to connect from xp to windows 7, but I am getting error like this Access Denied: Specified user ...
Debabratta Jena's user avatar
5 votes
2 answers
40k views

How to pass commands to a telnet window with a batch script?

I'm trying to control a wifi device with a batch script using the telnet command in Windows 7, but I don't know how to pass the commands to the telnet window. This will be a part of a longer script ...
an531's user avatar
  • 95
5 votes
2 answers
12k views

PuTTY closes when opening SMTP over Telnet on certain server

I have PuTTY installed on Vista. When I set it to Telnet and put in a host name of SMTP2Go.com and port of 25 the window opens for a second not showing any text then closes. I also tried ports 2525, ...
Buge's user avatar
  • 472
5 votes
1 answer
2k views

Does there exist a telnet-like for SSL connections?

are there any telnet-like tool that can manually debug a https connection byte by byte?
est's user avatar
  • 654
5 votes
3 answers
69k views

telnet fails to connect: Connection closed by foreign host

I try to connect to localhost with telnet: % telnet localhost 6311 This connection succeed, but when I connect by external IP of my computer, connection fails: % telnet x.x.x.x 6311 Trying x.x.x.x.....
sunny's user avatar
  • 185
5 votes
1 answer
39k views

telnet to smtp . 421 4.3.2 Service not available Connection closed by foreign host

When i try to telnet to a smtp server for port 25, i recieve "421 4.3.2 Service not available Connection closed by foreign host." I do have internet access on my linux system. Pls help.
newbie's user avatar
  • 51
5 votes
3 answers
16k views

How to run scripts within a telnet session?

I want to connect to a remote host using telnet there is no username/password verification just telnet remotehost then I need to input some commands for initialization and then I need to repeat the ...
wenzi's user avatar
  • 51

1
2 3 4 5
9