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
0 answers

TCP is sending wrong ACK during telnet connection

Here i am testing a telnet connection to a management-ip of device. There is no telnet server running on 23 port. In fact no applications is listening on 23.Ideally the telnet connection should be refused when ever i tried to connect.But some times…
0
votes
2 answers

Making Telnet program in php stuck at this : Escape character is '^]'

I'm trying to create something like this : telnet towel.blinkenlights.nl 666 which you have to write in terminal & it send you some response and user can also send input if server asks. I've searched alot for it but didn't get enough. Just this…
0
votes
1 answer

How would I detect a successful or unsuccessful telnet connection in CMD?

I have a batch script set to launch different servers, all listening on different ports but the same ip. In order to not lock up the computer running the servers, I want the servers to launch 1 at a time. My solution to this is using telnet and…
knorberg
  • 462
  • 5
  • 19
0
votes
1 answer

Ansible Playbook save telnet show run command to a file syntax error

I am facing problems with the syntax of my Ansible playbook. I am trying to use show commands using ansible's telnet module, following this resource: https://docs.ansible.com/ansible/latest/modules/telnet_module.html#telnet-module It works fine but…
Zahra
  • 3
  • 1
  • 3
0
votes
0 answers

Error w/ installing memcached in Docker alpine image

Good day I want to install Memcached instance in the image I'm working on. Here is the current code: FROM alpine USER root RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* \ && apk --no-cache add memcached busybox-extras…
being of habits
  • 317
  • 2
  • 11
0
votes
1 answer

reading data with Telnet client in go

I'm trying to read data from some devices via telnet protocol and below is my simple code. I just want to print some meaningful results. package main import ( "fmt" "github.com/reiver/go-telnet" ) func main() { conn, _ :=…
Morteza Hasanabadi
  • 212
  • 1
  • 2
  • 12
0
votes
0 answers

How to send a Mail with Auth Login by TcpClient and Network Streamer?

I have found some OpenSource Code for sending Mails by TcpClient, Network Streamer and Stream Reader with the Telnet Report. Because I need to send the Mails with "AUTH LOGIN" I have just modified the founded code, but unfortunately it dosen´t work.…
0
votes
0 answers

Expect->Telnet->Store and read a variable / Check if directory exists

Summary: I am writing a script to check if a directory exists on a remote machine. I need a solution which can allow me to check for that directory and return the result in a usable way. This whole process is automated within a much larger script so…
Jens Petersen
  • 189
  • 2
  • 11
0
votes
1 answer

How to reuse telnet connection across pytest tests after reset

I have a session scoped fixture in conftest.py creating a telnet connection to some host The tests use this fixture to send commands to the host Some of the tests need to reset the connection (close and reconnect) All the subsequent tests after…
KingUnique
  • 25
  • 5
0
votes
1 answer

How to get the output of a script running on remote machine via gsclient?

I have two machines, connected via telnet, PC1 and PC2. I'm running on PC1 a progress-4gl script stored on PC1 via a GSclient from PC2. That script runs a batch script which launches a python script to run on PC2. That python script runs as…
Roman
  • 37
  • 1
  • 8
0
votes
2 answers

Variables on telnet

I'm pretty new to coding and I needed a little automation batch file. I usually just open Telnet from CMD and do this: I type:o 192.168.1.248 And I get connected to the device I send my string WE1*1RTMP and the device responds with E1*1RTMP This is…
Veehxia
  • 1
  • 2
0
votes
0 answers

Telnet Client switching from CMD.EXE to COMMAND.COM

I have configured a telnet server in a Windows Server 2008 Host Computer. (I use W2008 because I'm running a 16 bit DOS application, and only Windows 2008 made its installation successful) I successfully connected to the server via my Windows 10…
0
votes
1 answer

c# opens the batch file but doesn't execute the VBScript in the .bat

I'm developing an application in C#. The main idea is: Press button Open .bat file The .bat file opens Telnet [IP] [Port] .bat file executes the VBScript VBScript writes some commands to the telnet window When I run this batch file by…
0
votes
2 answers

How to get telnet to send text and keep connected?

for my work I need to connect to a lot of different servers every day: telnet ti the host, enter username, enter password - commence work. Now I wanted to make life easier by automatically entering the username - I managed to do that, but telnet…
0
votes
1 answer

Linux script to write data from telnet message into a file while a period

I am connecting to a telnet listener. Telnet server sends some data for every second. I want to read the messages while X seconds and write it into a file (we'll take 6 seconds for the example). Note: The IP address has been changed to 'IP' for the…
Romain
  • 5
  • 7
1 2 3
99
100