Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [telnet]

The tag has no usage guidance.

1
vote
1answer
39 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
47 views

Telnet returns Name or service not known [on hold]

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
66 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 ...
3
votes
0answers
41 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
0answers
9 views

Can't connect to OpenLDAP

i have installed iRedMail with OpenLDAP managing the Mail Accounts. So far that works. Now I wan't to connect other applications to that LDAP and I'm trying to use a LDAP Explorer "LDAP Admin" for ...
1
vote
0answers
22 views

getting issue when I try to connect with NASL localhost [closed]

when I'm trying to connect with NASL using telnet, the connection is getting closed. here is the command and the response which I got. ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80 Trying ...
0
votes
1answer
59 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
2answers
167 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
31 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
49 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. ...
22
votes
6answers
3k 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 ...
0
votes
1answer
176 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
51 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
314 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
29 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
589 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
23 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
126 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.
-3
votes
1answer
131 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
104 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
443 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
49 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 ...
2
votes
2answers
940 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
877 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
995 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
0answers
98 views

Escaping from stuck telnet session on MobaXterm

This is a follow-up to Quitting telnet on Linux As it turned out, MobaXterm gets in the way of escaping from a stuck telnet session using CTRL-5 on a Hungarian keyboard. Answer https://superuser....
0
votes
1answer
365 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 ...
1
vote
2answers
917 views

How do I stop a telnet session from timing out?

I connect to a Cisco router using telnet. The connection times out every 3 minutes. How do stop my telnet session from getting disconnected from the router due to a timeout. I understand that ...
0
votes
0answers
271 views

scripting with telnet and tee

with #!/bin/bash telnet ipaddr port & i=1 while [ "$i" -lt 3 ] do (( i += 1 )) sleep 10 done result: Trying ipaddr... Connected to ipaddr. Escape character is '^]'. ...
10
votes
1answer
491 views

Why can I access a server by a partial IP address?

In my network I have a server known by the IP address 10.0.0.15. By accident, I discovered that the command: ping 10.0.15 results in 64 bytes from 10.0.0.15: icmp_seq=1 ttl=64 time=9.09 ms ...so the ...
-1
votes
2answers
162 views

How to cancel delay in telnet connection? [closed]

I am using telnet on my Linux machine to connect to the PCU2 Service Terminal of a Flexi Base Station Controller. There was some sort of problem with it, so my telnet connections were refused ...
1
vote
1answer
607 views

Find the telnet-server in CentOS7.2

I use yum installed telnet-server in my CentOS-7.2: yum install -y telnet-server The above prints: Downloading packages: telnet-server-0.17-64.el7.x86_64.rpm ...
0
votes
1answer
7k views

Verbose mode for telnet

Is there a way to increase verbosity for the telnet command? man telnet does not show any -v or -vv options.
1
vote
1answer
169 views

Damn-Small-Linux telnet server freezes

I'm using Damn Small Linux (or "DSL") (which is based "non-purely" on Debian - I have access to apt-get) in a Virtual Machine. I installed telnet server (telnetd + xinetd). I'm also running another ...
0
votes
0answers
609 views

Keep telnet connection open in background and send output to file

Some background: Working with ash shell (busybox) on an embedded device. From a script, I need to keep a local telnet connection open in the background to monitor the output of a service running ...
1
vote
2answers
13k views

Telnet connection had been closed by a foreign host

The client PC IP: 10.49.46.5/24 and the server PC IP: 10.49.46.2/24 are two computers linked to the same network. When I try to create an interactive communication between these two computers using ...
1
vote
0answers
42 views

CENTOS:Problems accesing to a remote machine port

I was trying to access to a specified port of remote machine from my CENTOS machine and I am not able to connect. If I write telnet remote_machine 666 I have no response. The client machine is a ...
0
votes
1answer
288 views

Linux telnet client with multiline support

I need to post data like this to an open telnet { "context" : "50EF2767", "data" : { "user_status" : "invisible" }, "command" : "setStatus" } The data is multiline. I cannot copy-paste ...
3
votes
1answer
1k views

Cannot telnet to listening port and firewall rules

I am trying to telnet to a host on port 50000, which I verified that is listening to a DB2 instance (db2inst1). telnet [host] 50000 telnet [ip_adress] 50000 But it gave the error: Connection ...
5
votes
4answers
5k views

Openssl command s_client always says 400 Bad Request

I am trying to test a server that is working normal in web browser, with openssl s_client option, connecting it directly using openssl returns the 400 Bad Request: openssl s_client -servername ...
2
votes
1answer
120 views

What services accept tcp connection?

I've been learning about socket programming recently, and am just beginning learning about tcp/ip sockets. My study material gives an example of connecting to the localhost daytime service by running ...
1
vote
0answers
653 views

add timestamp at begining of each line in telnet session

I want to log a Telnet session with timestamp on each output line. I tried telnet machine_IP_address | ts '[%Y-%m-%d %H:%M:%S]' but when I have to enter login/password, it does not work. Any idea?
1
vote
0answers
50 views

How can I simulate a ssh session on a client behind a NAT? [duplicate]

Quick question: How can I simulate a ssh session, that I can use to run commands on a client behind a NAT, that uses only program installed by default on most operating systems (telnet...). Long ...
2
votes
1answer
5k views

Cannot telnet to private IP or to port

What specific changes need to be made so that a CentOS 7 installation at local IP 192.168.1.6 can telnet to another CentOS 7 installation at another local IP 192.168.1.5? As you can see, 192.168.1....
0
votes
2answers
396 views

How is “putty” different from “telnet”?

How is “putty” different from “telnet”?
3
votes
1answer
47 views

How to force telnetd to accept arbitrary data in TERM variable?

I need to transport inside TERM variable, additional data, using the syntax: TERM=xterm:VAR1=data1:var2=data2:... At the server side these data are splitted up in real variables. But, the telnet ...
5
votes
2answers
1k views

Strange telnet client behavior when not specifying a port

On Debian Jessie, using php5.6 and telnet version: $ dpkg -l | grep telnet ii telnet 0.17-36 amd64 The telnet client I have written a php script ...
0
votes
1answer
95 views

Push commands to OpenWRT router via php

I've developed a static webpage hosted via an OpenWRT firmware based router and would like to create a reset button held on that page, the console command is: reboot I'm struggling to work out the ...
-1
votes
1answer
2k views

Telnet command windows to Linux server

telnet from a windows PC to a Linux server and view the users that are logged on the telnet server?what command do you use to view users logged on....commands i found don't work
0
votes
1answer
2k views

Telnet login as linux user with a prompt

I'm trying to figure out the setup of port 23 on an Ubuntu server. It was setup by my predecessor in quite a tricky way and now I need to migrate the functionality to a new machine. I know roughly how ...