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

Kernel panic not syncing attempted to kill init exit code 0x0000000b

I am trying to debug telnetd on a Site Router by writing log to a log file. After adding some debug log to telnetd.c in busybox and load new firmware, i got the error like above. Can anyone here tell me how to fix it. Thanks in advance.
0
votes
1 answer

Telnet to server, login, and return command result in one line

I've looked at several other solutions, but none appear to be working the way I need. I have an embedded controller running Linux (Dreadnaught) and a router also running Linux. I want to read the routing table (just the WAN IP of the default route)…
Scott
  • 161
  • 5
  • 13
0
votes
1 answer

Trying to make asyncio working with telnetlib

I'm having a hard time trying to make asyncio working with telnetlib for interrogate some hardware. I think I clearly don't understand the way asyncio is working and I'm a completely lost in all of this. It's really unclear. My basic version (which…
0
votes
1 answer

Telnet based check_mk check

I use Chek MK and would like to run a check on device that supports only telnet protocol. Im new at writing this so would appriciate any help. Basicly its like this: I log in via telnet to IP / Port (no username and password) and then issue a…
0
votes
1 answer

Ruby Net/Telnet use boolean to toggle logging

I am trying to set a boolean variable to toggle the logging path in the Net::Telnet module, ie: telnetdebug = false telnetlog = false telnetlogfile = '/var/log/mcacheMonitor.telnet.log' xmr = Net::Telnet.new("Host" => host, …
zevlag
  • 234
  • 2
  • 7
0
votes
0 answers

Powershell: Output in Seperate Lines

I'm writing a script that writes telnet-outputs into a CSV-File. Here's the script: #This script retrieves ampere figures from APC-PDUs based on telnet/TCP. $TelnetServers =…
Gabe
  • 31
  • 1
  • 1
  • 4
0
votes
1 answer

Unable to telnet to MariaDB container

I'm using docker-compose to run MariaDB and it is working fine. I am fetching jasper server and maria DB docker images and running them. When I telnet the jasper server image, it responds correctly, but when I telnet to MariaDB, it says: telnet…
Jamshaid
  • 370
  • 2
  • 11
  • 40
0
votes
1 answer

How to get response of Ansible telnet module

Below are couple of IP addresses and their telnet response (output) telnet 10.9.9.112 22 Trying 10.9.9.112...... telnet 10.9.9.143 22 Trying 10.9.9.143..... telnet: connect to address 10.9.9.143: Connection refused. For the first IP 10.9.9.112…
Ashar
  • 2,942
  • 10
  • 58
  • 122
0
votes
2 answers

Is there a way to copy a file over telnet

preferably using python or shell. does not have to use telnet program but does need to use protocol since that is the simplest way in my case(no need to install stuff on "server" to transfer files over). Note this isn't directly connected to the…
Roman A. Taycher
  • 18,619
  • 19
  • 86
  • 141
0
votes
1 answer

Encoding in Telnet-Client EL5(centos5)

I have a server(EL5) with telnet client. wherever I connect, accented characters and other characters are not read correctly and output as "è" = "C(" , "à" = "C" , "°" = "B0" , etc ... How can i resolve? the system language is en_US.UTF-8 (i use…
Leroy23
  • 41
  • 5
0
votes
1 answer

UnboundLocalError: local variable 'ip_addressa' referenced before assignment

Im using telnetlib.Telnet function to connect to telnet devices but I can't figure out how to fix error UnboundLocalError: local variable 'ip_addressa' referenced before assignment None , I saw UnboundLocalError: local variable 'text' referenced…
0 day
  • 21
  • 1
  • 6
0
votes
2 answers

C# - Send command to Telnet Server (Plain Text)

I'm trying to connect and send command to a TCP server (I think it's Telnet). All I know is I need to send commands to receive data. We already have a reader on our local network, but it's very old and does not have all the functions we need. To…
João Soares
  • 49
  • 1
  • 12
0
votes
0 answers

Python3 telnetlib ConnectionRefusedError: [Errno 111] Connection refused error

from random_open_port import random_port import telnetlib HOST = 'localhost' # Accepting clients from any IP addresses PORT = random_port() tn = telnetlib.Telnet(HOST) It returns the error Connection Refused
Scrox
  • 1
  • 2
0
votes
0 answers

How to send ack to netcat and then keep the connection alive?

I try make connection using natcat on my server. but server need ack in every 180 to make connection alive. i try to make connection using following command. cat sample.xml | nc -q -1 192.168.1.1 4747>value.xml sample.xml file contain ack which I…
0
votes
0 answers

Visual Studio 2019- You must have a license to use this ActiveX control

I am getting this error "You must have a license to use this ActiveX control" You must have a license to use this ActiveX control. (System.Windows.Forms) Program Location: at System.Windows.Forms.AxHost.CreateInstance() at…
Dev
  • 1,780
  • 3
  • 18
  • 46