The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
21 views

how to see a http reponse message using telnet command? [duplicate]

I am trying to telnet to different web servers and see what http response messages I get. I've tried telnet some_host_name 80, and then the shell says connected to some_host_name escape character is ...
1
vote
1answer
41 views

How to kill telnet started via SSH?

I am sending a command to remote server via SSH as ssh raja@remote_host "telnet 192.168.56.101 8080" But we all know that , to quit from telnet we need to get back to telnet prompt with CTRL+^] ...
1
vote
1answer
49 views

Telnetting the local port working but trying with ip not working

My question is similar but opposite to to Telnetting the Local port not working but trying the ip working For me, telnet to the local port works but trying with IP does not work :( I am running ...
1
vote
1answer
22 views

Why does `telnet` buffer FTP control connection lines?

RFC 1123 says Implementors MUST NOT assume any correspondence between READ boundaries on the control connection and the Telnet EOL sequences (CR LF). DISCUSSION: Thus, a server-FTP (or User-FTP) ...
0
votes
0answers
22 views

Connection refused, but only on one specific port

I have two service daemons. One responds; the other does not. The command netstat -pln returns, among others, Proto Recv-Q Send-Q Local Address Foreign Address State ...
0
votes
1answer
147 views

Make a shell script execute commands in telnet or programs

I would like to make a shell script that executes commands on a device that I telnet to or in programs such as FTP or OpenSSL. I have already found a method in FTP, which would look something like ...
0
votes
2answers
73 views

Telnet BASH script - Some commands are running out of telnet session

I'm running a bash script in order to get some data from a client. That is the script: host=2.218.71.67 port=23 login=xxx passwd=xxx DATE=date cmd1=ps cmd2=dumpmdm cmd3=sh cmd4=`cat /proc/meminfo` ...
1
vote
1answer
51 views

telnet accessing website with authentication

I am trying to access httpbin.org with basic authentication. I must enter a username and a password. Using telnet in the command terminal(linux) I execute at least : telnet httpbin.org 80 HEAD ...
1
vote
0answers
97 views

ftp: connect: The file access permissions do not allow the specified action

cannot ftp through port 21 Get below error when trying to ftp ftp: connect: The file access permissions do not allow the specified action. Has any one came across above error and having any ...
1
vote
1answer
56 views

telnet to remote host always connects to localhost [closed]

Can anyone explain what causes this behavior? It looks like telnet is not working as expected. I tried to telnet to a remote host but the output came up saying as below $ telnet myhost.sandbox.com ...
1
vote
4answers
557 views

how am i able to telnet to http port 80

After searching in google I found out that we can telnet to web-server to its http port and use GET to retrieve a html page. For ex: $ telnet web-server-name 80 But I am not able to understand ...
0
votes
1answer
84 views

Change the default port number for telnet in Linux

Hi All i want to change my the default port number for telnet services from 23 to say 2345. I have enabled the iptables rule to accept traffic from 2345 port , but still i am getting connection ...
6
votes
3answers
631 views

Using telnet to get website header

I have question, is it possible to get header of website by using telnet? Website looks like this domain.name.server.com/~USER (just example). And I want to get it header by telnet. telnet ...
3
votes
3answers
492 views

Telnet BASH script - output not saved

I'm running a very simple telnet bash script and it works. #!/bin/sh host=90.205.177.129 port=23 login=admin passwd=Sky.2015 #cmd1=sh cmd2=meminfo > /tmp/top.txt echo open ${host} ${port} sleep 5 ...
0
votes
0answers
28 views

'Unbusy' terminals which will be logged out when TMOUT is reached

I would like auto-logout some terminal sessions with a TMOUT (timeout) configuration, but in that case the users leave a program opened for which the 'unbusy' sign is the ZERO I/O between server and ...
0
votes
1answer
38 views

Firewall Rule Testing - telnet failing

I am testing firewall rules but the telnet is failing. The firewallrules have been implemented but the target server is not listening on the servers. How can I enable the target server ports to ...
0
votes
1answer
98 views

telnet: why application doesn't read .telnetrc?

My telnetrc mode character when i did a connection is not mode character as I put on telnetrc,why?
0
votes
0answers
367 views

telnet command with custom timeout duration

I'm trying to execute telnet command and getting the out put on shell script. But when the port not open or the ip not exist. The command take too much time to give the response. Will it be possible ...
-2
votes
1answer
157 views

Virtualbox and telnet

With the latest VirtualBox it is possible to set a tcp serial. I have set port 2231 and with telnet localhost 2231, the login prompt appears on my old Unix system. The problems are: passwords are ...
0
votes
1answer
154 views

OpenWrt bricked router is not connected via USB to serial cable

I am a newbie in OpenWrt development. I have a problem in my router when I try to upgrade my router (TP-Link TL-WDR-3600) to openwrt firmware via web ui. Now my router is bricked and I can't ...
2
votes
0answers
124 views

Flash OpenWrt Routers from Telnet

I have two routers. One has Chaos Calmer and the other has Attitude Adjustment. When I turn them on and check arp, nothing comes up. When I check route, the hardware address says (incomplete) but the ...
0
votes
1answer
381 views

How to create a script to send e-mail by telnet?

I want to create a sh file to send e-mail by telnet. Something like this: read -p "from: " from read -p "from (friendly name): " fromf read -p "dest: " dest read -p "dest (friendly name): " destf ...
0
votes
2answers
153 views

Telnet check in bash script

I want to run the following commands in bash script form in Solaris 10: $ telnet localhost 25 debug quit How do I handle this?
4
votes
1answer
3k views

telnet - “Connection closed by foreign host”

I want to setup an Apache Spark Cluster but I am not able to communicate from the worker machine to the master machine at port 7077 (where the Spark Master is running). So I tried to telnet to the ...
0
votes
2answers
93 views

How can I install kerberised services on debian?

I installed kerberos in my debian environment and made it work with SSH. I also would like to try it with other services but I could not install them on debian. I followed several tutorials e.g. ...
2
votes
0answers
202 views

Where EOF character is processed when it sent over telnet connection

Lets suppose I am connecting to telnet server, where bash is running. I am executing comand "cat > /tmp/qqq"; typing some contents of a file and finally sending 0x0a 0x04 which meant EOF. The ...
1
vote
1answer
833 views

Telnetting the Local port not working but trying the ip working

My application listens on port 8180. When I am trying to connect to port 8180 locally. Connection got refused. But when I am trying to connect to port with ip . I am able to connect. ...
5
votes
2answers
727 views

How are terminal length and width forwarded over SSH and telnet?

When I view the length and width of my terminal emulator with stty size then it is 271 characters long and 71 lines tall. When I log into another server over SSH and execute stty size, then it is also ...
0
votes
1answer
436 views

How to block telnet using iptables command

I am trying to block telnet on my server but I have failed to do so. I have added following firewall rules in INPUT chain of filter table for the same. INPUT CHAIN(filter table): <some other ...
0
votes
1answer
15 views

How do I assign hostnames for machines on my network?

I'm using Terminal on a Mac running OS X Yosemite. Wondering how I can assign hostnames so that I can run telnet instead of using the ip address.
1
vote
0answers
105 views

nmap doesn't detect opened port [closed]

I'm testing some vulnerabilities on a machine which has the port 22333 opened (it's used as the ssh port, and I can connect to it without any problem and I can get connected as well with the telnet ...
0
votes
1answer
67 views

dd wrt firmwire file prompt password while extracting

I am a newbie in using dd wrt firmware development. Last day i download a dd wrt firmware dd-wrt.v24-21676_NEWD-2_K2.6_mini-e900.bin for Linksys E 900 router. I need to extract this image for ...
3
votes
0answers
2k views

Can't login via telnet in ddwrt

I have a Gateworks laguna 2388 router with dd-wrt firmware installed in it. It was working fine till i change "http_passwd" nvram attribute. I wanted to change the web GUI password via telnet. So I ...
1
vote
1answer
1k views

ssh tunneling: connection closed by foreign host

I'm trying to create a scenario to test a simple ssh tunneling, just for using a simple telnet. I have two hosts: ubuntu and suse. Both of them have the other hostname on /etc/hosts file for address ...
0
votes
2answers
795 views

Use a script for a telnet session

I have a problem with my script. It seems my password is wrong. #!/usr/bin/expect set ip [lindex $argv 0] spawn telnet $ip set timeout 10 expect "Login:" send "administrator\r" expect "Password:" ...
2
votes
0answers
372 views

telnet connection closes

I am running hdfs in one machine. I am trying to write into hdfs from my second machine. I got connection refused error and got this link in the error itself: ...
0
votes
1answer
98 views

How to restrict number of telnet login attempts?

The title pretty much says it all. I've searched online a little bit and looked through man telnet , but couldn't spot anything. Man page lists /etc/telnetrc and .telnetrc, neither of which is present ...
1
vote
0answers
245 views

Limit transfer speed rate by Iptables Rules

I have D-Link Router DSL-2730U that support busybox OS and iptables version 1.4.0 I managed successfully to block the host for being connect to the internet using the following command block by ip ...
0
votes
0answers
217 views

Telnet tracefile is blank

I enter this command but the tracefile is always blank, what am I missing? telnet -n /tmp/text.txt IP PORT
1
vote
5answers
14k views

Download n Upload files via telnet session

I have an attendance Device with Linux OS installed. I am able to connect that device via telnet session. There are some files in the device which I need to download and upload with new files. How can ...
1
vote
1answer
4k views

Telnet session closed by foreign host

I'm trying to telnet to imap-mail.outlook.com on port 993. When I connect to it, I get Trying 157.56.195.250... Connected to imap-mail.outlook.com. Escape character is '^]'. And I can enter a ...
2
votes
1answer
25k views

can not telnet to a server connection refuse

I have two server with these specifications: IP address: 192.168.1.94 IP address: 192.168.1.221 I want to telnet to the first one from the second one (to port 5029) but I get this error: ...
0
votes
1answer
728 views

How does a cisco device know if I'm connecting via telnet or ssh?

I'm experiencing strange behavior with a Cisco UC520 router. When I am directly connected to the router and telnet to it using this: telnet 192.168.1.1 23 Then I get a successful login prompt: ...
0
votes
2answers
3k views

How to redirect stdout & stdin to telnet? [closed]

I am working on embedded product running Linux. The device uses /dev/ttyO0 as console. On boot is automatically start a program with which uses input from /dev/ttyO0 (serial), and gives some ...
1
vote
1answer
297 views

Telnet no echo output from xinetd script

I have have installed xinetd, and I wrote a script: #!/bin/bash echo "Some text" touch /home/somefile I made a service configuration under /etc/xinetd.d/ and basically it works when I connect to ...
0
votes
2answers
288 views

Disable incoming telnet connections

I'm trying to secure my Debian server, and noticed that if I type telnet myserverip port# then anyone can see my ssh version. I'm a bit worried that people can do some harm aside from that. How can I ...
2
votes
1answer
8k views

Rhel7: telnet: no route to host

I have installed RHEL7 GA version, and installed the xinetd and telnet packages. But when I am trying to telnet from another host to RHEL 7 its giving this error: Trying 10.235.x.x... telnet: connect ...
6
votes
3answers
8k views

Test if telnet port is active within a shell script

I am trying to create a script to test whether it is possible to login via telnet. I do not want to really log in; therefore, expect is not needed. I just want to see if I am able to get a login ...
3
votes
1answer
546 views

nc -l in background closes immediately (nc -l 1234 &)

When I put this nc -l 12345 >nc_out in a shell script, run it and then connect from other shell using telnet, it allows me to type some text and have it end up in nc_out. But if I start nc in ...
1
vote
3answers
9k views

Telnet on Linux Server

I want to know if it is necessary to have telnet enabled on both sides of machines to get telnet connection. Here's the issue: I am trying to telnet some public IP on port 80 from a Linux web server ...