Questions tagged [telnet]
Telnet is a client-server protocol used to allow communication between computers in a network.
429
questions
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.
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 ...
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 ...
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 ...
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?
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 ...
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.
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 ...
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.
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 ...
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 ...
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 ...
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
...
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. ...
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 ...
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).
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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?...
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:...
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) ?
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?
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?
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 ...
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:
...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ^?
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: ...
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 ...
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 ...
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 ...
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, ...
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?
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.....
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.
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 ...