Questions tagged [telnet]

Telnet is an old protocol for bidirectional interactive text-oriented communication with remote hosts via virtual terminals. It is defined in rfc854. On modern UNIX-like systems it is replaced with more secure and flexible SSH protocol.

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communications facility using a virtual terminal connection. User data is interspersed in-band with Telnet control information in an 8-bit byte oriented data connection over the Transmission Control Protocol (TCP).

Shell example:

telnet website.com 80 # telnet to the website with port 80

Then HTTP methods can be executed like below

GET /index.html

More information at http://en.wikipedia.org/wiki/Telnet

2479 questions
0
votes
1 answer

Plink Proxy error: Connection refused, while PuTTY works with the same session

PuTTY session created for Telnet with a socks5 proxy (no auth needed) and named it to telnet_session_with_proxy If I use PuTTY with selecting the given session, the Network Element is reachable (through the proxy), I can log in: putty.exe -load…
Netcreator
  • 104
  • 11
0
votes
0 answers

How to print continuously data from telnet with telnetlib (python 3.7)

I want to print continuously data (real time) from telnet with telnetlib (python 3.7) but no resalt becouse the fonction read_all don't stop import telnetlib tn = telnetlib.Telnet('10.205.61.60', port=9101, timeout=10) v=tn.read_all() print(v)
0
votes
0 answers

PHP - Telnet connection/command inside a SSH connection

I have got in my network topology:machine_1, server_1 and machine_2. I am developing an application that will be hosted in machine_1. One of the functionalities of the application is to connect to the server_1 through a ssh connection (I have used…
Jim
  • 11
  • 2
0
votes
1 answer

leaving java linux process to user or OS control

Code: String line; ProcessBuilder telnetProcessBuilder = new ProcessBuilder("/bin/bash"); telnetProcessBuilder.redirectErrorStream(true); Process telnetProcess = telnetProcessBuilder.start(); BufferedReader…
Ashutosh
  • 397
  • 1
  • 7
  • 20
0
votes
0 answers

Reboot machine through Telnet connection using PHP?

I am trying to implement one PHP GUI that first establishes an SSH connection to a server and then it opens a Telnet connection to one machine that want to send a command to reboot. I have already tried the commands on a CLI (The SSH connection,…
Jim
  • 11
  • 2
0
votes
1 answer

Is there a possibility to send a telnet command or start a bat file when I get a result in a SQL View?

I would like to send a Telnet command or start a *.bat file when I get a result in a SQL view. I am using SQL Express and so don't have the SQL Server Agent. I am trying to launch a cue in a lighting software, 30 minutes before one of our shows…
bregtV
  • 9
  • 3
0
votes
1 answer

PuTTY sending extra characters at the beginning of TELNET connection initialisation

When a TELNET session is initialised using PuTTY, I see that PuTTY is sending the following characters to the server at the beginning of the connection: ..... .....'......... I was able to capture this using WireShark. The hex characters are as…
user8557475
0
votes
0 answers

Telnetlib: 'NoneType' object has no attribute 'sendall' False

note before starting - This issue is different than: 'NoneType' object has no attribute 'sendall' PYTHON IP addresses removed and replaced with x.x.x.x It appears that my code is sending the desired command, but then errors out with the 'Nonetype'…
0
votes
1 answer

How to send and receive data among AWS EC2 instances?

I have two workers and a parameter-server, i.e, total 3 ec2 instances. I need to communicate among 3 instances (send and receive packets simultaneously). All of the three instances have same Security Group configuration: Parameter-server instance…
Leolime
  • 197
  • 1
  • 1
  • 11
0
votes
1 answer

Using a single telnet session in two different methods

I need to use a telnet session like in this code below : class ModTelnet(MXComm): def __init__(self): MXComm.__init__(self) def _connect(self): #connect to telnet session @ localhost port 4444 try: HOST = "localhost" …
user732663
  • 1
  • 2
  • 4
0
votes
1 answer

Error sending command to Beanstalkd from telnet

Whenn I send the following sequence via telnet I get EXPECTED_CRLF: $ telnet localhost 11300 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. put 0 0 1 4 68 6f 6c 61 EXPECTED_CRLF UNKNOWN_COMMAND I thought, when I press…
Antonio Romero Oca
  • 1,196
  • 10
  • 31
0
votes
1 answer

Key mapping for putty or putty alternative

at my work we're trying to find a replacement for an old telnet client that we use to connect to an SCO Unix server running an old program. I have found that I can almost get putty to do everything required - setting it to SCO function keys lets me…
Alex S
  • 4,726
  • 7
  • 39
  • 67
0
votes
0 answers

Socket not writable while using `telnet-client`

I am using the following code to perform telnet using NodeJS but it is throwing socket not writable error 'use strict' const Telnet = require('telnet-client') async function run() { let connection = new Telnet() let params = { host:…
meallhour
  • 13,921
  • 21
  • 60
  • 117
0
votes
3 answers

NodeJS callback not printing output when it is success

I have written following code which uses nodejs callback. It correctly prints error when there is no telnet connection. However, it is not printing Success! when telnet is performed successfully When I manually perform telnet linux003 4102 I see a…
meallhour
  • 13,921
  • 21
  • 60
  • 117
0
votes
0 answers

what could I use to wrapp a SSH server for a Telnet client

In my case, the server has been secured by passing all console access to SSH, but the client console must remain with Telnet because it is integrated in an application that can't be modified. Due to incompatibility of protocols I imagine a "proxy"…