Questions tagged [telnet]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
22 views

Get all the open ports for a remote host in linux

Trying to connect to a particular port for a remote host. The host is reachable (checked via ping command) but the port is not accessible. Is there any way to check all accessible ports for that ...
0
votes
1answer
23 views

Dial-up vintage BBS access with agetty and a modem

I'm trying to setup a 80's service with Mystic BBS (that runs on telnet), including a dial-up access with a U.S. Robotics modem connected to the serial port of the server. I succeeded with mgetty: /...
0
votes
0answers
22 views

Configuring the telnet daemon xinetd not to prompt for user login

I am configuring the telnet service in order to allow remote users to check if the server can be reached. I have just set the parameter disable = no in /etc/xinetd.d/telnet disable = yes but when I ...
0
votes
0answers
44 views

Can't download files through ZMODEM in Debian 10

I can't download files from any BBS I've tried so far using the ZMODEM protocol in Debian 10. So far, this is exactly what I have done: Marked the files I wanted to download from the BBS. Go to a ...
0
votes
1answer
29 views

telnet -l still asks for login

I'm trying to write a C library that connects and talks to a robot which has a telnet server. The server info is the following: user: as ip: 192.168.0.1 port: 23 it has no password In the ...
0
votes
1answer
57 views

Cannot telnet host from ec2 instance behind a proxy

Let me try to rephrase the whole question as it was not very clear the first time. I need to understand and workout port forwarding. I have an ec2 instance running behind a proxy server. I need to ...
0
votes
1answer
66 views

Sed with port forwarding in socat?

Not sure if this belongs on here, StackOverflow, or SuperUser. I have a device running a reverse telnet server that I need to be able to send/receive data to. I'm able to play with it if I run socat ...
0
votes
0answers
24 views

Repeatable Options Expect/Bash Telnet Listener

Hey guys first time post. Trying to determine if it is possible create a bash/expect file combination that can serve as a Gameserver Moderation Bot. It spawns and listens on telnet. It would ideally ...
10
votes
5answers
3k views

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 ...
4
votes
2answers
1k views

Why does telnet on a non existent port not directly reject, but time out?

telnet 8.8.8.8 8888 displays Trying... I was expecting, that this directly is refused. Background: When we have a NGINX reverse proxy server, it would be great, that it detects directly when the ...
0
votes
1answer
30 views

Are these different telnet commands?

What does these both commands do? telnet www.abc.ac.in 80 vs telnet www.abc.ac.in http
-3
votes
1answer
211 views

Telnet Login Incorrect - Ubuntu - Connnecting to Router

i cannot login to the router using telnet and getting login incorrect in Ubuntu 18.x what's the problem root@ubuntu:/home/ezzat# telnet 192.168.1.1 Trying 192.168.1.1... Connected to 192.168.1.1. ...
-1
votes
1answer
43 views

Bash Script to telnet network devices other then telnet port

i have automate juniper auto add address from one srx to another srx using script in virtual emulator.EVE-ng emulator set different telnet port for different network devices for telnet. eg, vsrx-1 ...
0
votes
1answer
115 views

why access to some port isn't stable

we install the netdata tool ( its OS performance tool ) we notice that netdata installation failed on curl -sSL --connect-timeout 10 --retry 3 http://localhost:19999/netdata.conf and: we notice ...
0
votes
1answer
127 views

automatically keep trying to connect to telnet host until it suceeds (over ssh)

I want to automate logging in by telnet on a remote host. The thing is, the telnet session becomes reachable a few seconds after ssh is available, i.e. user@hostA telnet hostB will fail until hostB is ...
1
vote
1answer
256 views

Run a 16-bit Application through DOSBox/DOSEmu with Telnet

Here is my problem. I have a Fedora 30 telnet-server and a Windows telnet client. I installed DosBox on Fedora30, and it works running my app (Foxpro 2.6). There is no GUI. I would like to run ...
1
vote
1answer
330 views

Allowing guest SSH and Telnet access

Currently, whenever people Telnet to my server (or SSH), they are prompted for a username/password. I do my own authentication afterwards on that specific user, so this is redundant. The user ...
1
vote
0answers
914 views

Line-ending problem with Telnet: can't remove LF from CRLF when sending command

I am unable to get Telnet to send only CR (\r) at the end of a command, despite setting the crlf toggle to <CR><NUL> (see example below). Instead, Telnet always sends CR-LF (\r\n). My ...
2
votes
1answer
88 views

how do I tab in telnet when executing it on remote host by ssh?

How can I use tab when I use telnet on a remote host by ssh, I have something like: ssh -o StritHopstKeyChecking=no -p port user@hostA telnet hostB; echo "Reconnect?"; while read < /dev/tty; do ...
13
votes
4answers
4k views

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 ...
0
votes
0answers
265 views

FTP LIST command hangs in passive mode

Entered ftp server with anonymous credentials, and got the response that I logged in successfully 230 Login successful. Want to list all files in current directory, issued LIST command, the server ...
1
vote
0answers
84 views

How can I run a script on a Unix box without enough space to store it?

Specifically what I'd like to do is run screenfetch on my router, just for fun. Here's my disk space free: admin@RT-N66W:/tmp/home/root# df Filesystem 1K-blocks Used Available Use% ...
2
votes
2answers
558 views

Setting variable output from timeout

I'm trying to automatically query a status via telnet (this isn't something I'm able to work around in this case). The idea is to grep for something and assign the result to a variable, to pass to a ...
0
votes
1answer
73 views

How does a telnet BBS work?

I know that telnet is an insecure remote login application compared to ssh. I turn on the telnet service on my VPS and succeed logging into it with telnet. So telnet is for remote login, but how ...
0
votes
1answer
39 views

Can I test telnet connectivity FROM multiple machines TO multiple machines, via a script?

I have 10 source machines and 10 destination machines. Each of those source machines need to connect to each of those destination machines. I wrote a shell script which tests the telnet connectivity ...
0
votes
1answer
19 views

VPS telnet 80 strange response

From my PC, I test a telnet connection to my VPS HOST (used from 2 php little websites) and I get a curious website response : plays-slot.com So my question Why ? Is it pirated ? telnet 193.XXX.XXX....
1
vote
1answer
725 views

Downloading File Using Telnet

I'm trying to download a file, https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe or https://www.7-zip.org/a/7z1806-x64.exe, without using curl or wget; rather, I want to download the file by ...
-1
votes
1answer
5k views

Telnet returns Name or service not known [closed]

I'm trying to telnet from Centos 7 to Centos 6.8 on port 1521: #telnet 192.168.1.100 1521 And I get the following error telnet: 192.168.1.100:1521: Name or service not known 192.168.1.100:1521: ...
1
vote
3answers
2k views

Checking server is listening without telnet, from CLI?

Typically an easy diagnostic approach to checking an application server is running is to run telnet again the host and port: telnet somehost port The issue is that some operating systems, such as ...
4
votes
1answer
502 views

Virtual tty client for network telnet/RFC2217 server?

I have network device that serves up a telnet/RFC2217 (virtual serial port) interface. On Linux, how do I create a virtual tty that connects to this thing? If I understand correctly, socat doesn't ...
0
votes
1answer
662 views

Get HTTP header response with telnet in shell script using a proxy

I need to get the http header response from a server (google) with telnet, as i don't have curl or wget in my busybox environment. Also, I'm behind a proxy. So on the command line I can successfully ...
1
vote
3answers
1k views

Telnet connection stops bash script

I have a bash script where I continuously read from a text file the hosts and port and create a connection to check for the status. My code is: while IFS=";" read -r host ports do eval "arr=($...
0
votes
1answer
45 views

Test for network connectivity from various hosts to one specific host via ssh and telnet

I am trying to see if a port is opened for a list of hostnames/IP's, and I used a simple script like this one to ssh to each host and capture the output. for i in `cat $1` do ssh $i "sleep 5 | telnet ...
0
votes
2answers
447 views

Extract continuous information from telnet client

I have an industrial sensor that via an Interface module provides raw values via telnet. In order to connect to it: telnet 169.254.168.150 10001 I can only see garbage values from it. ...
28
votes
8answers
22k views

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 ...
1
vote
1answer
1k views

interactive SMTP command using telnet via a shell script

I'm trying to access a SMTP remote server thru a remote shell using telnet and a command file command.txt containing command to send to that SMTP server as seen on https://tecadmin.net/ways-to-send-...
0
votes
2answers
475 views

Telnet - how to verify why a port is blocked?

We have linux machines with RedHat 6.5 operating system. When we try to telnet to localhost on port 8182, we get connection refused: service iptables status Firewall is not running telnet localhost ...
-2
votes
1answer
4k views

How to Install telnet through a file?

I need to install telnet in a remote server (Centos 7), but when I use yum install, the process is stuck in finding mirrors (probably because the server lacks accessibility). I had the same problem ...
0
votes
1answer
99 views

Redirect output without telnet information to file

I am trying to download a binary file from an HTTP server with GNU Telnet, a tar archive to be exact. I can currently download regular files, but I can't properly redirect the output to a file. The ...
4
votes
0answers
3k views

Accessing regular linux commands in Huawei's Dopra Linux

Backstory: I have a Huawei HG8245 router in my house and I want to change the default username/password. I've tried following this guide but the config file always gets reset. My ISP isn't helping ...
1
vote
0answers
24 views

hide results that echo in if conditional [duplicate]

I have the next script: host=$1 port=23 user= <user> pass="<pass>" cmd1='show int descrip | i TRUNK|BBONE' #cmd2=exit ( echo open ${host} sleep 1 echo ${user} sleep 1 echo ${pass} sleep ...
-1
votes
1answer
804 views

What is the relation between test results of ping and telnet?

Is it correct that if ping host fails, telnet host port will fail too. But not vice versa. i.e. if telnet host port succeeds, ping host will succeed too. But not vice versa. Thanks.
-2
votes
1answer
346 views

Does Telnet client work without Telnet server?

On my Ubuntu, I can run the following commands, and get HTTP response telnet www.ietf.org 80 GET /rfc.html HTTP/1.1 Host: www.ietf.org I heard that Telnet protocol is insecure, so is it correct that ...
1
vote
1answer
248 views

Ubuntu Telnet problem

I have a problem with Ubuntu 14.04. I am a student of microcomputer systems and networks. I have a virtual machine running Ubuntu 14.04 and when trying to connect to localhost with telnet, the ...
-1
votes
1answer
3k views

Unable to telnet to a server

Here are 2 servers 192.168.0.12 192.168.0.21 there is a service running in 50070 port in server 192.168.0.12 when I do telnet from 192.168.0.21 server it fails: $telnet 192.168.0.12 50070 Trying ...
0
votes
1answer
82 views

Telnet connection Procurve switch

Im writing a script to get a dump of the Procurve switch-settings I start the script like this: ./script.sh | tee /home/user/telnet.log Here the Script #!/usr/bin/expect -f set timeout 20 set ...
3
votes
2answers
2k views

telnet doesn't prompt “Connection closed by foreign host.” when connection is cut off

I am working with a embedded linux unit, here's my situation: I use my computer(Ubuntu 16.04 machine) to telnet onto a unit issuing reboot command, then the unit reboots successfully. Here comes ...
1
vote
2answers
2k views

How can I detect if telnet is running on a server?

I have a digital scope, with LAN connection. I'd like to check if telnet is running on the scope (the manual doesn't say so, but then the manual doesn't offer anything useful about the LAN port). I ...
3
votes
1answer
2k views

How can i allow traffic coming at specific Port in IPtables Rules

I have centos7 running in 2 VM's. firewall is running on both VM machines. Suppose some application is running on machine A which is using 5044 port. and i have another machine called machine B who ...
0
votes
1answer
811 views

Quitting telnet on Linux

Standard escape character is CTRL-] on telnet. https://superuser.com/questions/398/how-to-send-the-escape-character-on-os-x-terminal/427#427 says that on Hungarian keyboard it is CTRL-5. On my ...