The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
23 views

Sending multiple base64 email attachments using ncat/netcat/telnet

I am looking for a solution using bash and ncat. Working off of this question on ServerFault, I've reworked it, mostly this answer, very basically; allowing a CC recipient to be included, using ncat ...
-1
votes
0answers
25 views

Connect to port 80 with telnet but not with browser [closed]

I am testing my router's security. I connect to the admin console via a browser on the LAN side. If I use the public IP address, I am unable to connect via the browser on port 80, which I assume is ...
-1
votes
4answers
9k views

What is the equivalent of telnet localhost 25 with ssh?

What is the equivalent of telnet localhost 25 using SSH ? Clarification : I would like to have an SMTP connection with a server using SSH, just like it can be done with a command like telnet ...
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
0answers
28 views

Cannot telnet outside network to open port on OEL 6 machine

I have an OEL 6 server that locally is assigned IP 10.200.15.79. It is hosting a business application that uses port 1031 to send and receive information through TCP/IP. To allow this on the OEL ...
2
votes
1answer
2k 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
39 views

Why are some pts in AIX never reused?

In an AIX system (AIX p740 1 7) that is running for about several months, some pts aren't reused anymore. This was noticed using the "who" command, with the following "awk" expression, running it ...
6
votes
3answers
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
0answers
15 views

How to serve a file using Telnet [duplicate]

I am doing this as an experement, so please do not say it's useless and I should not be doing this the way I'm doing it. I know that there are better methods. I simply would like to figure out how to ...
2
votes
0answers
177 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
97 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 ...
2
votes
1answer
28 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
1answer
72 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
7k 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
22 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
65 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 216....
3
votes
4answers
12k 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
177 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
32 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
6k 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
90 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
78 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
57 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
35 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 PID/...
1
vote
1answer
1k 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
247 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
68 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
11k 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
184 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
164 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 ...
4
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
368 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
1k 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 domain....
0
votes
2answers
218 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
265 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
34k 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: root@...
1
vote
0answers
32 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
12k 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
29k 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 ...
7
votes
4answers
15k 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
51 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
157 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
791 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
241 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
159 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
854 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
797 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 ...