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

Opening a telnet connection as pseudotty

I am trying to create a number of connections to a cyclades server. This is done by using telnet to an IP address (IP_ADDR) and a port number (PORT). It works fine when I create one active connection but I need to run a script to map these…
0
votes
1 answer

How to determine Connection Refused Issue?

We have a linux server which runs a java process(Hazelcast) on port 5701. However, we are facing issue while connecting to that server and it result in a Connection Refused issue. Below are the details: We have 3 nodes. Two of the nodes, Node A and…
Siddhant
  • 571
  • 1
  • 8
  • 32
0
votes
1 answer

Ruby Gserver terminates session when initiating new class

I built a little text-adventure game in ruby. It's a class and I initiate the class with the input text, and it prints the output to my terminal window. I wanted to make a telnet wrapper for this all, so I found Gserver, and built it so that you can…
Patrick Gates
  • 391
  • 6
  • 18
0
votes
1 answer

Java Socket Error When Connecting to Telnet Server for SMTP Validation

For some reason, I can't connect my java Socket to the following FQDN 1753003334.pamx1.hotmail.com. I've tried with other mail-servers, and they didn't give me this problem. But, this one, whose preference (according to nslookup) is 0, causes the…
0
votes
1 answer

While loop in Java doesn't break when pressing Enter, when condition is a DataInputStream.isAvailable() == 0 and the application runs with telnet

I am trying to simulate a "ping" command in Java. I extracted only lines which I consider relevant for my question. So, when running this code, it is printed "Pinging..." once per second, until the user presses ENTER. After ENTER is pressed, it is…
Catalin Vladu
  • 389
  • 1
  • 6
  • 17
0
votes
0 answers

Node.js net module does not recognize Chinese, Korean, and other double byte character

When I use client.write in the net module, it only recognizes English, Numbers, and other ASCII symbols. const net = require("net"); const server = net.createServer(); server.on('connection', function(client) { client.write('中文 한글'); // some…
saa
  • 1
  • 3
0
votes
1 answer

Using PHP/Python to access data from a remote telnet server over SSH

I have a CentOS 5.5 server running a local telnet daemon (which is only accessible from localhost) which prints out a list of active users on our accounting system when sent the correct commands through telnet. I need to make this information…
Michelle
  • 2,155
  • 4
  • 26
  • 42
0
votes
0 answers

EC2 telnet username and password

When connecting to an EC2 instance with telnet what would be the username and password? I'm using Ubuntu and I didn't set any credentials Anyway to disable the authentication via telnet?
Fritz FABO
  • 97
  • 2
  • 10
0
votes
0 answers

Telnet SSH Connection with Python (Windows)

I try to connect to a ssh server (port 22) with python in windows environment, but it is unsuccessful with pexpect, pxssh for windows. Is there another solution?
0
votes
1 answer

Telnet server response only echoes in C# application

I need to develop an application that is able to put out some commands after connecting to an ip with Telnet, and then just logs the ongoing responds; So I have tried package like PrimS.Telnet and Minimalistic.Telnet; The thing is it works with…
Michiel Krol
  • 243
  • 3
  • 9
0
votes
1 answer

capture telnet password tcpdump

I capture data from telnet using tcpdump. Command: tcpdump port http or port ftp or port smtp or port imap or port telnet -l -A | egrep -i…
Monterisko
  • 21
  • 1
  • 7
0
votes
0 answers

Make a file that executes a command through telnet?

I am new here, so please excuse some of my mistakes :D I want to turn my Yeelight light bulb (compatible with Google Home/Wifi/LAN) on and off by simply pressing a key on my keyboard. The only thing I need, is a file which connects to the light bulb…
wNdg
  • 1
0
votes
1 answer

how can I connect through telnet with python?

I made this program in python to connect with a device that support telnet using 23 port, with user:admin and password:pass: import getpass import telnetlib HOST = '192.168.1.10' user = input("Enter your remote account: ") password =…
Jorge
  • 1
0
votes
1 answer

Can telnet be used to set gps location on real android device connected through usb?

Can adb be used to alter my android phone's gps location when it is connected through usb? I have installed MockGeoFix on my android phone and enabled it in the mock location setting. I opened a command prompt (Windows 10) and typed telnet open…
jxw
  • 586
  • 2
  • 6
  • 36
0
votes
1 answer

c# socket connection with multi threading telnet

**i use c# this code socket connection with multi threading ** i need set time out to my socket connection telnet string ip = ""; int port = 23; string str = ""; IPAddress address = IPAddress.Parse(ip); IPEndPoint…