The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
49 views

Able to ping my host but getting no route to host

I have a elasticsearch service running on MY_HOST_IP(10.x.x.xx) and port 9200. I am able to ping 10.x.x.xx from my VM, but when I try to connect elasticsearch it gives me : no route to host ...
0
votes
2answers
49 views

Not Able to run telnet service on CentOS machine

When I try to run the telnet service on CentOS Linux release 7.2.1511 it throws the following error: service telnet restart Redirecting to /bin/systemctl restart telnet.service Failed to restart ...
1
vote
2answers
2k views

FreeBSD telnet does not take root login

I have just installed FreeBSD 8.1 as a VMWare host and can establish ipv4 connectivity to the instance and telnet through the virtual console. I have also uncommented the /etc/inetd.conf lines telnet ...
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 ...
2
votes
1answer
22 views

Connect via telnet and doing certain operations

I'm trying to code a script where I can connect via telnet to another server and execute certain operations, but I'm having problems with the result of this process. The objective is to connect to a ...
0
votes
2answers
1k 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:" ...
0
votes
1answer
46 views

Ctrl + Alt + Del and F keys Using Telnet

I only have serial access to a server, and I am trying to access its BIOS using telnet (it's not a direct serial, but a remote serial connection). My telnet certainly reaches the server, as I can ...
6
votes
2answers
5k 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
0answers
13 views

RHEL Jenkins email notifications failing

RHEL Server release 6.7 (Santiago) I know there have been multiple questions about this on SO (none of which have helped me solve my problem), but I think my problem pertains to Linux more so than it ...
0
votes
1answer
50 views

Telnet for port 80 not working

I am doing telnet as telnet www.google.com 80 It is showing Trying 216.58.193.164....Nothing happens after that. but when I tried telnet www.google.com 443 It works well and shows Trying ...
1
vote
4answers
11k 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 ...
1
vote
1answer
166 views

sending mail using telnet [closed]

I'm trying to send mail via the telnet command. I've looked at several tutorials online to use telnet <servername> 25. But I've tried telnet mail.aol.com 25 and it gets stuck on trying ...
1
vote
1answer
3k views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
0
votes
1answer
26 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 ...
0
votes
3answers
5k views

“Expect” automation tool output to shell variable

#!/bin/bash # more commands here expect << EOD spawn telnet localhost 9151 expect -exact "Trying 127.0.0.1...\r Connected to localhost.\r Escape character is '^]'.\r" send -- "AUTHENTICATE ...
1
vote
1answer
66 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
62 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
50 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
31 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
647 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
198 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
66 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 ...
7
votes
3answers
10k 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 ...
1
vote
1answer
117 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
141 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 ...
2
votes
4answers
2k 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
220 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
898 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 ...
0
votes
2answers
204 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?
-2
votes
1answer
219 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 ...
3
votes
3answers
1k 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 ...
2
votes
1answer
31k 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
0answers
30 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 ...
13
votes
4answers
11k views

Telnet send Ctrl-C

I use telnet to connect to a terminal server, which proxies the traffic to a RS-232 port. Unfortunately when using some of the devices it is not possible to send the CTRL+C character (0x03). Instead ...
9
votes
2answers
28k views

How to telnet via proxy authentication?

I am behind a proxy server in my college. It uses a simple username and password authentication. And i connect to the proxy server to port 3128. now i want to telnet simply to say any website on the ...
6
votes
4answers
14k views

How can I use command line telnet client to open a raw connection - like PuTTY?

I need to use telnet to talk with a socket server which is not a standard Telnet server. I do not want any Telnet negotioation or interference of any kind in the data. This is available as 'raw mode' ...
0
votes
1answer
46 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
135 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
637 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 ...
0
votes
1answer
215 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
148 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
673 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 ...
3
votes
1answer
709 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 ...
2
votes
1answer
134 views

Telnet IAC commands

I want to turn off character echoing in Telnet via linux command line by sending "IAC DON'T ECHO" command. I have been searching everywhere, and I couldn't find how to to do. Basically, I don't know ...
0
votes
2answers
102 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
252 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
1k 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
1k 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
636 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.