Telnet is a protocol for bidirectional interactive text-oriented communication with remote hosts via virtual terminals. It is defined in [RFC 854](http://tools.ietf.org/html/rfc854). Telnet provides no inherent security and so is becoming less commonly supported. On modern UNIX-like systems it ...

learn more… | top users | synonyms

25
votes
9answers
3k views

Is packet sniffing for passwords on a fully switched network really a concern?

I administer a number of linux servers that require telnet access for users. Currently the user's credentials are stored locally on each server and the passwords tend to be very weak and there is no ...
19
votes
7answers
4k views

something like telnet, but “listen on”, not “connect to”

With the telnet program one can connect to any TCP port on any host, but is there a way to listen on some port on current host? i.e. 1) on host a: telnet listen 12345 2) on host b: telnet host_a ...
10
votes
6answers
15k views

How to check that an OpenVPN server is listening on a remote port without using OpenVPN client?

I need to check that an OpenVPN (UDP) server is up and accessible on a given host:port. I only have a plain Windows XP computer with no OpenVPN client (and no chance to install it) and no keys needed ...
8
votes
8answers
27k views

Send an email with an attached file using telnet or netcat

I often use telnet or netcat to connect smtp servers to send an email as a test. Does anyone know how you would send an email using telnet or netcat but attach a file as well? There are probably ...
7
votes
6answers
2k views

Windows server and telnet, what can you do?

On a Windows Server 2008, can you even telnet into the server? (not remote desktop, but via the command line) If yes, is there much control really? How do people automate if you can't telnet? ...
6
votes
5answers
18k views

Can the Windows telnet client be scripted?

Is it possible to use the Windows Telnet client to run a series of commands in a script? If not are there any alternatives that can be?
6
votes
2answers
2k views

How to quit QEMU monitor?

I launched KVM VM with this command: kvm /kvm/hdd/v1/v1-1.raw -m 512 -daemonize -smp 2 -nographic -net nic,model=virtio,macaddr=aa:aa:aa:aa:aa:01 -net tap,ifname=tap0 -monitor ...
6
votes
5answers
3k views

“No route to host” with ssl but not with telnet

I have a strange problem with connecting to a https site from one of my servers. When I type: telnet puppet 8140 I am presented with a standard telnet console and can talk to the Server as ...
5
votes
5answers
484 views

If I use ftp or telnet by accident, to what extent is my password unsafe?

if i use ftp or telnet by accident (usually on the bash shell), to what extend is my password visible? can my coworker see it? can my neighbor see it if i work at home (if not using wireless)? can ...
5
votes
2answers
247 views

Confusion over terminology SSH, Shell, Terminal, Command Prompt and Telnet

I don't usually use SSH if I can get away with it, but if I have to I do of course, and I've seemingly done this for years while still managing to remain slightly confused about these different terms ...
5
votes
3answers
814 views

Running a shell script for certain user who logs in with SSH

First time here and posting just because I can't seem to find the answer to this, or whether is this even possible. The problem I'm having is that I want to create a script that will be run ...
5
votes
2answers
202 views

What are the reasons for using telnet command?

I SSH into root and noticed the previous user used this command: telnet randomdomain.com 25 From what I gathered it is connecting to another server? But that domain doesn't have anything to do with ...
5
votes
2answers
6k views

Enabling the telnet client for all Windows 7 PCs on a domain

The telnet client is disabled by default in Windows 7. I would like to enable the telnet client for all Windows 7 PCs in our domain. I know how to enable it manually: Start Control Panel Programs ...
4
votes
6answers
11k views

Windows Server 2008 without telnet client - how to test connecting to remote ports without installing anything new?

I'm looking to see if anyone knows of slick tricks to test connections to remote server ports from Windows server 2008 and variants that don't include the telnet client installed by default. Reason ...
4
votes
7answers
7k views

How to start a Windows GUI app from telnet

I have a GUI application running on a windows XP client machine. I would like to telnet in, shut it down, pull some files over via ftp and then start it up again. It's that last part that I'm having ...
4
votes
6answers
2k views

How to customize telnet login prompt on linux

When I run login command on debian, I get: hostname login: _ on RHEL5, Solaris or HP-UX I get: login: _ I need to be able to customize login: and password: prompts it on a Linux box. I can ...
4
votes
8answers
5k views

keyboard shortcut to quit 'telnet'

on Windows XP/server 2003 When telnet some remote host on a specified port, after connection established, sometimes press ctrl+] doesn't quit. Is there any command can quit instead of just close the ...
4
votes
4answers
684 views

Telnet connection to an AS400 system via telnetlib (Python)

I use telnetlib - Python - to create a telnet client - port 23 - to communicate with an AS/400 server. communication with the telnet command that is no problem, but with telnetlib I do not get any ...
4
votes
2answers
10k views

Unable to telnet out on port 25 on windows server 2008

I just setup a Windows 2008 R2 server and am trying to get a basic mail server up and running so that I can send emails from my applications. I setup a virtual SMTP server in IIS6 and tried doing a ...
3
votes
3answers
369 views

Is is possible to reattach a telnet connection?

Our network involves a series of dumb text terminals which telnet into a SCO OpenServer 6 server. Occasionally, one of these terminals will crash, forcing the operator to move to a different terminal ...
3
votes
3answers
475 views

Automation in Windows Instances on Amazon EC2

I am working on a compute service that will require automatic deployment of our software (~30 megs). The software is a WCF service, so I am stuck with windows. I can't use mono because we use lots of ...
3
votes
2answers
137 views

Why does telnet send a RSET when I control-c while connecting?

Solaris 10 using snoop to capture packets. When I telnet to an unused IP address, and wait for the connection attempt to time out, everything behaves as expected (SYNs sent several times until ...
3
votes
2answers
20k views

“-bash: telnet: command not found ” error?

I have the following services running: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off tcsd ...
3
votes
4answers
3k views

how to check connectivity to server by windows tools?

I need to check if client can connect to server on specific TCP port. Server is listening on it. Tried "telnet server_IP port" but telnet is stuck when I see that it's connected to the server. Seems ...
3
votes
1answer
561 views

How to kill a telnet client with rlwrap since ^] does not work? [closed]

When I use telnet with rlwrap it looks like there is no way to kill the client. Am I missing something here or I really have to kill the process with the kill command?
3
votes
3answers
681 views

How do I restore (xterm|gnome-terminal) wrapping after telnet to HP equipment has messed it up?

I telnet to an HP switch from my (xterm|gnome-terminal). Exit telnet. That breaks the behaviour of the terminal. (If you don't have a HP switch to telnet to, one can cat this file in a terminal ...
3
votes
2answers
2k views

Can't connect to SMTP server

I have trouble connecting to an SMTP server from my PC. I use Debian sid. telnet mail.example.com 25 Trying 12.23.34.45... telnet: Unable to connect to remote host: Connection timed out While from ...
3
votes
1answer
896 views

[Shift]+[F1] not working in putty telnet sessions

Update: I configured putty (Windows 8; x64) to send exactly the same data as an old 16 bit Hyperterminal (Windows XP). I tested it using Wireshark. But still the Software on the Suse Server does not ...
2
votes
5answers
654 views

Why does anyone use ftp?

I am a newbie, so maybe I'm missing something. Why would anyone use ftp or telnet for site administration? If they use them, why would they wonder how they've been hacked? Isn't it obvious that all ...
2
votes
2answers
735 views

Output text file to TCP port

How can I output a text file to a TCP port on Windows Vista using built-in software? For example, type TextFile.csv | telnet localhost 1979 This doesn't work: The process tried to write to a ...
2
votes
2answers
613 views

how to disable telnet services in windows servers

In my windows machine telnet services are set disabled in windows machine. But when you do: telnet localhost 25 still the SMTP listens. how can i set not to listen to the service?
2
votes
2answers
129 views

ssh-ing to a port

Consider the following two commands: create-smtp-message | ssh -p 25 serveraccount create-smtp-message | ssh serveraccount telnet localhost 25 According to my understanding of ssh(1), they ...
2
votes
6answers
1k views

SSH into Ubuntu Linux on a box without a static IP address

Basically, how do I do it? I'd like to connect to my home computer from work, but my internet is routed through my apartment building's network, so I don't have the static IP address I'm accustomed ...
2
votes
1answer
137 views

translate telnet trafic to SSH

I have a closed source windows tool I need to run, which has to connect to a remote machine. Problem is, the tool only has telnet functionality, while the remote host only accepts SSH2. Is there some ...
2
votes
1answer
65 views

Non-invasive way for our network team to run ping/tracert/etc from various servers

In troubleshooting connectivity issues, our network team lacks the rights on our servers (Windows and RHEL) to connect and test connectivity (for example, when tweaking a firewall rule, a ticket ...
2
votes
3answers
9k views

how fix telnet at port 25 or 110 or 143 connection failed?

I installed third party application on my Windows 2008 server to turn it into a mail server (MDaemon)... I filled the info during its wizard very carefully without any changes in its options or ...
2
votes
4answers
2k views

script to test mail server

Ever since a windows update that took down my IIS6 mail server a few weeks back, I've been really paranoid about my mail server working. So every time I run a windows update I fire up command prompt ...
2
votes
2answers
10k views

How do I fix “getaddrinfo: localhost Name or service not found” for telnet server?

I need to enable telnet (no i can't use ssh, and I don't want to discuss why I have to use telnet either), I have 127.0.0.1 localhost.localdomain localhost in /etc/hosts. I have installed ...
2
votes
1answer
1k views

retrieve gmail using telnet

How do I see the mails in my gmail inbox using telnet? I typed telnet pop.gmail.com 995 at the command prompt and it shows me a blank screen. No message confirming whether it is connected and after a ...
2
votes
2answers
7k views

Why am I unable to telnet to a local port that has a listening service?

I suspect this is either a very simple question, or a very complex one. I have a headless server running ubuntu 10.04 that I can ssh into. I have full root access to the system. I am trying to set up ...
2
votes
1answer
446 views

Cannot remotely telnet to Port 25

On a rackspace cloud server, I opened up Putty and it WORKS if I do "telnet localhost 25" on the VPS, the postfix process is running as well However, if I try to telnet remotely like "telnet ...
2
votes
1answer
60 views

Service Closing transmission on OpenSSL [duplicate]

I am trying to send email through OpenSSL as below : Client > openssl s_client -crlf -connect smtp.mail.yahoo.com:465 SERVER > 220 smtp.mail.yahoo.com ESMTP ready Client > HELO localhost ...
2
votes
1answer
80 views

Communicating with ARIN Whois server [closed]

Connecting to the ARIN Whois server via telnet works like so: telnet whois.arin.net 43 Once connected, getting information about an IP address is equally trivial: n 119.194.24.35 A lot of ...
2
votes
1answer
10k views

Unable to connect to remote host: Connection timed out when trying to telnet to MySQL?

When trying to connect to mysql server via telnet I am getting following error: telnet localhost 3306 Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection timed out ...
2
votes
1answer
46 views

remote login failed on windows XP, but remote telnet successful on mac

I recently set up an Oracle DB, started the listener on port 1561, and enabled TCP access. I then opened that port to all incoming connections. When I get on my Mac - I can use telnet remoteserver ...
2
votes
1answer
28 views

Preventing SecAst access from across the network

I have SecAst up and running great, and I realize that any workstation on the network can access the SecAst telnet interface. Is there a way to limit this to only my laptop? I don't want one of the ...
2
votes
2answers
3k views

Windows/Linux socat to share a serial device over IP

I have a scenario where I demonstrated to my group @ work how to share a very expensive USB patient simulator plugged into a Raspberry Pi (Debian) using socat. The group wants to be able to have an ...
2
votes
1answer
215 views

Bind telnetd to specific IP on AIX 5.3?

Is it possible to bind telnetd to a specific IP on AIX 5.3? I know telnet is evil. Unfortunately, we have to have it listening on one interface for a specific application, but I want to make sure ...
2
votes
2answers
7k views

How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?

I'm trying to setup Wake-on-Lan for some of the LAN computers at home and it seems that I need to open a UDP port (7 or 9 being the most common) and forward all requests to the broadcast IP, which in ...
2
votes
1answer
415 views

Connect to Apache times out randomly

We are trying to set up an Apache server on a remote machine, but we experience strange behaviour. Checking with telnet remote.machine 80, one of these things happen randomly: Connect and serve ...