The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
61 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
0answers
18 views

IMAP: Subscribe to a mailbox via telnet

I'm debugging some problems with a Courier IMAP mail configuration. The IMAP server is returning a "Mailbox does not exist, or must be subscribed to" error message if I try to issue a STATUS or ...
0
votes
2answers
83 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 ...
0
votes
1answer
59 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
47 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 ...
1
vote
1answer
395 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 ...
2
votes
2answers
192 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 ...
0
votes
0answers
39 views

Cannot connect to Solaris Server when Oracle GoldenGate process uses the port

I'm trying to test the Oracle goldengate to replicate data between two databases on the same server. So I installed two databases and two goldengate homes in the same machine. The goldengate ...
2
votes
1answer
100 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 ...
0
votes
0answers
202 views

can't connect using telnet, ssh. Connection refused

My imagine network (using marionnet) looks like that: m1[eth0 192.168.1.1/26] switch m2[eth0 192.168.1.2/26] [eth1 192.168.2.1/28] switch m2[eth0 192.168.2.2/28] I can ping from any machine to ...
0
votes
3answers
795 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
1k views

Shell script to perform telnet session to ser2net

I have setup a xenserver (free) hosting a VM (Debian 7.5). On this xenserver I have attached a serial GSM modem. I have configured xen to run ser2net so I have a serial proxy available. This works ...
0
votes
1answer
202 views

Expect script + automated telnet process between three Linux machines

Is it possible to do the following by expect script? I have Linux server that connected to linux_machine1 and linux_machine1 connected to linux_machine2 My Linux server have access only to ...
1
vote
1answer
345 views

Telnet to port 80 is not showing results

I'm trying to a test request/response to www.google.com on port 80 as below : $ telnet www.google.com 80 After that I typed in : GET‌ / HTTP/1.1 Host: www.google.com But nothing happens! Any ...
1
vote
0answers
63 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 ...
1
vote
1answer
186 views

Function key mappings in telnet session to Universe Application

Our client uses Termtek terminals to connect to their Universe platform. More terminals needed and we can't get any. The alternative is to get winboxes and run wintegrate or try and get a Linux ...
-1
votes
1answer
82 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 ...
5
votes
2answers
288 views

Writing a “telnet server” type program that uses SSH instead of telnet

So people have written server programs using telnet in which the user simply does telnet server.com and this connects them to the server program, which then provides them with a textual program they ...
0
votes
2answers
544 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 ...
0
votes
1answer
194 views

How to specifying different ports for multiple host in cssh?

I am using cssh to telnet into multiple hosts at the same time. I have changed the ssh=/usr/bin/telnet to point to the telnet program. The problem I am facing is that each host uses different port ...
0
votes
1answer
4k views

telnet: connect to address 127.0.0.1: Connection refused

I am using RHEL 6.0 and when i type the given command in terminal telnet 127.0.0.1 6000 I am getting output as: Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Why ...
0
votes
0answers
895 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
0answers
252 views

Postfix not responding to telnet

I am doing a Postfix installation on CentOS 6.5 I can't get # telnet localhost 25 to do more than this: Trying ::1... Connected to localhost. Escape character is '^]'. EHLO ^] telnet> quit ...
2
votes
1answer
201 views

telnet: “No environment-specified terminal type.”

If I batch SSH this command: echo close | /usr/bin/telnet IPADDRESS 657 Then I get this output: No environment-specified terminal type. but why? The OS FROM I'm SSHing is a Linux, and the OS ...
1
vote
2answers
1k views

Telnet login prompt very slow on Static IP only, possible rDNS issue?

I've switched my CentOS machine from DHCP to static routing, using telnet to connect to it has gone from practically instantaneous, to taking around 30 seconds for the initial login prompt to display. ...
1
vote
2answers
6k views

How to check whether certain port is opened or block on any other servers from a dev box?

I am trying to connect to one of our staging Cassandra servers on port 9042 and 9160 here in our company from a dev box.. Through the code, I am not able to connect to it... The program gets hanged at ...
2
votes
3answers
5k views

Testing remote TCP port using telnet by running a one-line command

I have numerous linux boxes with a very limited set of commands and disk space. But it has the telnet command on it. I remotely connect to each of these probes (programmatically) and issue one line ...
0
votes
2answers
482 views

telnet client - output hexadecimal network traffic on debian

Reading the manpage I thought it should be possible to print incoming characters in hexadecimal. But it didn't work. Do you know what I'm doing wrong? This is the relevant manpage description: debug ...
0
votes
3answers
3k 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 ...
2
votes
1answer
475 views

Run remote shell daemon as non root user with tab-completion

I need to run any "remote shell daemon" (ssh, telnet, netcat, socat... I don't mind) as non-root user. The remote shell should provide tab-completion and I want to be able to browse history using ...
1
vote
2answers
789 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
votes
3answers
476 views

telnet implementation using C [closed]

The program in general is I want to implement telnet program. On the client side user send its logging name and password, and if it is correct he starts to send commands to the server On the Server ...
2
votes
1answer
1k views

What to use for firewall testing (port opened or not)

so... we know that we can test that if a port is open on the firewall with: telnet SERVERIP PORT ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
0
votes
2answers
515 views

Simplest screen echo server?

What is the simplest way to do the following thing? Run a program which will open specified port, listen for it, and display whatever it receives. Also if type something -- then send back to ...
1
vote
2answers
1k views

How to stop telnet access for a particular IP address?

How can I stop telnet access for a particular IP address on the command line?
1
vote
1answer
1k views

Copying files between users Using Telnet

How to copy a file from home directory User A to home directory of User B using telnet.
6
votes
3answers
2k views

Unable to use OfflineIMAP to sync Gmail

I'm trying to setup OfflineIMAP to sync my Gmail account to ~/Mail/Gmail. I'm using a pretty basic ~/.offlineimaprc from here. But OfflineIMAP doesn't connect to Gmail at all. This is the debug ...
3
votes
1answer
2k views

Redirect linux serial console

I want to redirect my serial port while telnet session in linux. I have an embedded Linux box which is has a serial console. After I do a telnet to the box, I can type in both the serial console as ...
12
votes
3answers
6k 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 ...
2
votes
2answers
11k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
6
votes
2answers
15k 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 ...
2
votes
2answers
6k 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' ...
2
votes
1answer
462 views

Is there a config file for telnet that's similar to .ssh/config?

I constantly need to type some hostnames / IPs to telnet, and sadly they don't support ssh. Is there a config file for telnet similar to ssh? I don't have admin access to change the /etc/hosts file. ...
17
votes
3answers
19k views

How can I communicate with a Unix domain socket via the shell on Debian Squeeze?

I’m running a Debian Squeeze web server. I’ve installed memcached on it, and configured memcached to listen on a Unix domain socket (at /tmp/memcached.sock), as it only needs to receive messages from ...
1
vote
4answers
242 views

Access a linux machine from a windows machine

I have two laptops, one is installed with Ubuntu 10.04, the other one is installed with Windows XP. The Ubuntu laptop is located in one place with internet connection while the windows laptop is in ...
0
votes
1answer
188 views

Can I use GAIM (Pidgin) to telnet (for MOOs, MUSHes, MUDs, etc) like TF?

GAIM supports many protocols, but I couldn't find a way to create a 'telnet' account, so that I can finally stop using TinyFugue to play MUDs/etc. How do I create a telnet "account" with GAIM? Do ...
3
votes
2answers
1k views

Telnet over Ethernet for Linux?

I have used MikroTik RouterOS and I found a telnet-over-Ethernet (a layer 2 telnet), MAC telnet on it. I think it's a great tool, when SSH dies, or someone misconfigures IP Addresses. So the thing ...
3
votes
3answers
6k views

Force telnet / ssh to use crtl-H for backspace

I have some devices connected to a Cisco serial term server; many work fine when I telnet directly to the port on the Cisco. However, I have a few stubborn devices that will not use Backspace as it ...
2
votes
2answers
275 views

Divorced input line in GNU Screen

Is it possible to divorce my input from the overall shell using Screen? What I'm aiming for is akin to a status line that expands if I type more than would fit within a single line and is ...
3
votes
4answers
2k views

stty: : Invalid argument

I am telnet-ing into a Solaris machine and I'm getting the above error with my scripts. I realize this is a common problem, and the solution is to check for the line 'stty erase ^H' within my profile, ...