Questions tagged [telnet]

An unencrypted client/server protocol for remotely accessing another system.

228 questions
159
votes
6 answers

How can I communicate with a Unix domain socket via the shell on Debian Squeeze?

I’m running a Debian Squeeze web server. I’ve installed memcached on it, and configured memcached to listen on a Unix domain socket (at /tmp/memcached.sock), as it only needs to receive messages from the website, which lives on the same server. It…
Paul D. Waite
  • 3,527
  • 5
  • 21
  • 21
84
votes
9 answers

What are the alternatives for checking open ports, besides telnet?

We can use the following in order to test telnet VIA port; in the following example we test port 6667: [root@kafka03 ~]# telnet kafka02 6667 Trying 103.64.35.86... Connected to kafka02. Escape character is '^]'. ^CConnection closed by foreign…
yael
  • 12,598
  • 51
  • 169
  • 303
39
votes
4 answers

telnet - "Connection closed by foreign host"

I want to setup an Apache Spark Cluster but I am not able to communicate from the worker machine to the master machine at port 7077 (where the Spark Master is running). So I tried to telnet to the master from the worker machine and this is what I…
Mor Eru
  • 493
  • 1
  • 4
  • 7
28
votes
10 answers

Testing remote TCP port using telnet by running a one-line command

I have numerous linux boxes with a very limited set of commands and disk space. But it has the telnet command on it. I remotely connect to each of these probes (programmatically) and issue one line linux command through SSH. I need to run a single…
Muhammad Gelbana
  • 1,583
  • 8
  • 19
  • 25
25
votes
8 answers

Downloading and uploading files via telnet session

I have an attendance device running Linux OS. I can connect this device via telnet session. There are some files in the device that I would like to download and upload with new files. How can I do that? I have very low knowledge on Linux OS. Would…
PRdeep Kumawat
  • 351
  • 1
  • 3
  • 4
21
votes
3 answers

How are terminal length and width forwarded over SSH and telnet?

When I view the length and width of my terminal emulator with stty size then it is 271 characters long and 71 lines tall. When I log into another server over SSH and execute stty size, then it is also 271 characters long and 71 lines tall. I can…
Martin
  • 7,284
  • 40
  • 125
  • 208
20
votes
4 answers

How am I able to telnet to HTTP port 80?

After searching in google I found out that we can telnet to web-server to its http port and use GET to retrieve a html page. For ex: $ telnet web-server-name 80 But I am not able to understand how is this possible ? I thought that if port 80 is…
sps
  • 1,396
  • 5
  • 15
  • 23
19
votes
5 answers

telnet command with custom timeout duration

I'm trying to execute telnet command and getting the out put on shell script. But when the port not open or the ip not exist. The command take too much time to give the response. Will it be possible to limit the maximum try time on telnet? telnet…
sugunan
  • 423
  • 3
  • 7
  • 18
18
votes
2 answers

How to telnet via proxy authentication?

I am behind a proxy server in my college. It uses a simple username and password authentication. And i connect to the proxy server to port 3128. now i want to telnet simply to say any website on the internet like $ telnet www.google.com 80 this…
Aakash Sigdel
  • 183
  • 1
  • 1
  • 5
17
votes
9 answers

Telnet send Ctrl-C

I use telnet to connect to a terminal server, which proxies the traffic to a RS-232 port. Unfortunately when using some of the devices it is not possible to send the CTRL+C character (0x03). Instead of transmitting the character, it seems like the…
Allan
  • 171
  • 1
  • 1
  • 7
15
votes
4 answers

Test if telnet port is active within a shell script

I am trying to create a script to test whether it is possible to login via telnet. I do not want to really log in; therefore, expect is not needed. I just want to see if I am able to get a login prompt. This is being done from a Linux system so I…
rleon
  • 151
  • 1
  • 1
  • 3
13
votes
4 answers

What happens if I start too many background jobs?

I need to do some work on 700 network devices using an expect script. I can get it done sequentially, but so far the runtime is around 24 hours. This is mostly due to the time it takes to establish a connection and the delay in the output from these…
KuboMD
  • 409
  • 6
  • 16
13
votes
6 answers

How can I use command line telnet client to open a raw connection - like PuTTY?

I need to use telnet to talk with a socket server which is not a standard Telnet server. I do not want any Telnet negotioation or interference of any kind in the data. This is available as 'raw mode' in PuTTy and I need the same functionality in…
Eden
  • 1,171
  • 1
  • 8
  • 7
12
votes
5 answers

Why telnet is considered to be a protocol? Isn't it just a simple TCP send/echo program?

This is more like a conceptual question. I need some clarifications. Today I was learning some socket programming stuff and wrote a simple chat server and chat client based on Beej's Guide to Network Programming. (chat server receives clients…
Rick
  • 1,107
  • 1
  • 16
  • 29
12
votes
3 answers

Force telnet / ssh to use crtl-H for backspace

I have some devices connected to a Cisco serial term server; many work fine when I telnet directly to the port on the Cisco. However, I have a few stubborn devices that will not use Backspace as it is mapped in telnet by default. In case it…
Mike Pennington
  • 2,452
  • 4
  • 31
  • 40
1
2 3
15 16