Telnet is a protocol for bidirectional interactive text-oriented communication with remote hosts via virtual terminals. It is defined in [RFC 854](http://tools.ietf.org/html/rfc854). Telnet provides no inherent security and so is becoming less commonly supported. On modern UNIX-like systems it ...

learn more… | top users | synonyms

1
vote
1answer
1k views

Telnet exit status are equal for connection refused and connection tiemout

I create a bash script that check the connection to an host with telnet. That's the core code: telnet $X 2404 < $TEST &>/dev/null if [ $? -ne 0 ] ; then echo -n "$X " >> $LOG_FILE ...
0
votes
1answer
301 views

Change port from ipv6 address to ipv4 address

I have setup a service on my server which has opened a port (ie, 40000) but its foreign address is :::* which is a wildcard ipv6 address (I think) When I run telnet localhost 40000 on the server the ...
1
vote
1answer
45 views

How can I determine which users are authenticating via ftp or telnet?

I've inherited a system that has both telnet and ftp enabled. As both these send passwords in cleartext I want to disable them. But many users have never changed their ways to use sftp or ssh. And ...
3
votes
2answers
175 views

Why does telnet send a RSET when I control-c while connecting?

Solaris 10 using snoop to capture packets. When I telnet to an unused IP address, and wait for the connection attempt to time out, everything behaves as expected (SYNs sent several times until ...
1
vote
2answers
882 views

Cannot connect from Linux to SQL Server through a firewall

I need to connect from a Debian GNU/Linux webserver to an SQL Server database which is hosted on a Windows machine within an organization's local network. The person in charge of the database server ...
58
votes
6answers
271k views

Check if port is open or closed on a Linux server?

How can I check if a port is listening on a Linux server?
2
votes
3answers
22k views

how fix telnet at port 25 or 110 or 143 connection failed?

I installed third party application on my Windows 2008 server to turn it into a mail server (MDaemon)... I filled the info during its wizard very carefully without any changes in its options or ...
0
votes
3answers
5k views

Is Telnet Port Open For The Range IP?

I want to port scanning on telnet port in a range ip . for ex: i want to know is the 23 port open on 127.0.0.1/255 ? what am i going to do ? is there a option for Nmap to do this ? Thanks .
0
votes
2answers
126 views

multiple apache connections using telnet

I want to have multiple simultaneous HTTP connections to my webserver which has a website hosted to perform load testing. Can anyone tell me how can we use a 'telnet' command in a script to do the ...
2
votes
1answer
15k views

invoking telnet from two different interfaces

I use telnet to test email server connectivity between servers. My server has two interfaces, I'd like to telnet over each. Basically I'd like to choose source (one of my local ip addresses) AND ...
0
votes
1answer
319 views

munin-node in openvz-container not reachable from host-system

I have a problem figuring out why my openvz-container is not reachable from the outside (host-system) on port 4949. netstat in the container: [root@openvz ~]# netstat -utapn |grep 4949 tcp 0 ...
1
vote
1answer
399 views

Can't telnet from windows machine to OS X laptop on same network?

I'm trying to telnet from my windows box into a service running on a known-available port on a mac laptop, but the connection is getting refused. I can telnet into the service locally. Firewalls are ...
0
votes
3answers
3k views

Solaris built in command for TCP connection without all the telnet stuff

Sometimes telnet is used for testing non telnet servers such as HTTP or SMTP servers where the TELNET protocol usually stays out of the way. However, I think I have run into a case where it is in the ...
0
votes
2answers
731 views

Executing a command over telnet

Is it possible to run an executable on a remote machine using telnet? I connect to a windows XP machine via telnet and then I execute the exe by issuing this simple command. RunProgramme.exe No ...
2
votes
1answer
154 views

translate telnet trafic to SSH

I have a closed source windows tool I need to run, which has to connect to a remote machine. Problem is, the tool only has telnet functionality, while the remote host only accepts SSH2. Is there some ...
1
vote
1answer
486 views

Routing telnet/23 connection thru double SSH tunnel (SSH proxy server)

I have a contractor is using a Windows PC that is outside the corporate network. However, we allow connections via the firewall to certain hosts/ports. Telnet/23 from the contractor's PC to a ...
-3
votes
1answer
507 views

Passive ssh/telnet server?

I want to set up a Ubuntu openssh (or telnet) server where the network environment is can connect to any other host via any tcp/udp port. but cannot accept incoming connections from other clients. ...
19
votes
5answers
37k views

How to check that an OpenVPN server is listening on a remote port without using OpenVPN client?

I need to check that an OpenVPN (UDP) server is up and accessible on a given host:port. I only have a plain Windows XP computer with no OpenVPN client (and no chance to install it) and no keys needed ...
1
vote
3answers
7k views

telnet: connect to address ::1: Connection refused

when I run '(sleep 1; echo flush_all; sleep 1; echo quit; ) | telnet localhost 11211' I get Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to ...
0
votes
1answer
1k views

Postfix SASL SMTP

I am getting an issue when trying to send out email on 465 secure SMTP with a Postfix + Courier with MySQL virtual users. I am able to connect with IMAP secure and download, and I can also send mail ...
2
votes
1answer
653 views

Cannot remotely telnet to Port 25

On a rackspace cloud server, I opened up Putty and it WORKS if I do "telnet localhost 25" on the VPS, the postfix process is running as well However, if I try to telnet remotely like "telnet domain....
0
votes
2answers
6k views

CentOS open port 7000 [RESOLVED]

I have two boxes one ubuntu v10.10 (IP: 192.168.12.128) and another centos v5.5 (IP: 192.168.12.131) I m able to ping centos from ubuntu box and vice versa. When I telnet UBUNTUIP using port 7000 ...
0
votes
3answers
1k views

Configuring an SMTP server in order to activate a Blackberry device on BES without data plan

I have been trying to get Blackberry Entreprise Server 5.0 running on my Windows 2008 VM. It seems to work, I can now add users and find them into Active Directory. The next step for me would be to ...
0
votes
2answers
2k views

Exchange server 2003 not sending messages sent to internal addresses via telnet?

For a variety of reasons, I am needing to programmatically send mail through an Exchange 2003 server. I'm not able to use any built-in "SmtpClient" classes so I'm following the SMTP protocol over ...
0
votes
1answer
2k views

Telnet command missing on Windows 2008 R2 machine

I have a Windows 2008 R2 machine that is being used for development machine. When I try to use Telnet I get the error: Telnet is not recognised as an internal or external command ... I have ...
0
votes
1answer
301 views

Dovecot immediately logs off user

I'm trying to set up email on my server, and have successfully set up POP3 with gmail for my main account. When attempting to set up another user though, gmail reports ` There was a problem ...
-1
votes
1answer
1k views

Python script - connect to SSH and run command

What I want to have is an python script to do the following: connect to an [ input by user ] SSH host connect using the credentials [ provided by the user ] run command on the SSH host [ telnet to [...
1
vote
1answer
381 views

Telnet hangs with vim [closed]

I'm starting to use telnet for remote access and control of others windows pc. The problem that I'm facing is that when i start the VIM program the telnet session hangs and it doesn't respond to any ...
0
votes
2answers
832 views

Can I change my sendmail port?

I am having a problem sending mail through sendmail. I have configured sendmail and it is fine. I telnetd the localhost and it connects but when i telnet port 25 is says telnet: Unable to connect to ...
0
votes
2answers
3k views

Connection closed by foreign host

When I telnet one port of my server, it give me an error: "Connection closed by foreign host", anyone can tell the reason ? thanks!
0
votes
1answer
210 views

Telnet disconnected on login failure

I have two servers running Linux 2.6.9 kernel. When i telnet to server1 , the telnet will be disconnected only after 3 login failures. While, when i telnet to server2, telnet will be disconnected ...
1
vote
2answers
2k views

What's the best way to telnet from a remote Windows PC without using RDP?

Three Networks: 10.1.1.0 - Mine 172.1.1.0 - My Branch Office 172.2.2.0 - My Branch Office's VOIP VLAN. My PC is on 10.1.1.0. I need to telnet into a Cisco router on 172.2.2.0. The 10.1.1.0 network ...
0
votes
4answers
4k views

how to protect telnet access to smtp port 25?

Please consider the following: 192-168-1-106:~ michael$ telnet <remote_server_ip> 25 Trying <remote_server_ip>... Connected to li*****.linode.com. Escape character is '^]'. 220 ...
1
vote
3answers
2k views

Connecting to a LDAPS server

I am working on a development machine and I am trying to connect to my LDAP server. This is what I do - telnet ldaps- 686 then the response is - Could not open connection to the host on ...
2
votes
2answers
1k views

how to disable telnet services in windows servers

In my windows machine telnet services are set disabled in windows machine. But when you do: telnet localhost 25 still the SMTP listens. how can i set not to listen to the service?
0
votes
2answers
989 views

Munin on localhost (telnet only displays period)

I set up munin to run as root for testing, my relevant config is as so: munin.conf: [localhost] address 127.0.0.1 use_node_name yes I tried fqnd.mysite.com (but it couldn't connect), ...
2
votes
1answer
1k views

Windows 7 system32 different contents depending on how its viewed

Using Windows 7 x64 Enterprise. When I view C:\windows\System32 through explorer I can see telnet.exe, if I open cmd from the start menu I can use telnet. If I open C:\windows\system32\cmd.exe via ...
3
votes
3answers
9k views

How to forward UDP Wake-on-Lan port to broadcast IP with IPTABLES?

I'm trying to setup Wake-on-Lan for some of the LAN computers at home and it seems that I need to open a UDP port (7 or 9 being the most common) and forward all requests to the broadcast IP, which in ...
5
votes
2answers
30k views

Verify connectivity to a server on a UDP port

I want to know if a HP-UX machine can communicate to a remote machine (which I don't have control over) on a particular port using UDP. I tried telnet, but it doesn't look like it supports UDP. I ...
0
votes
1answer
512 views

How to display ANSI Escape codes e.g. from tshark telnet trace?

How does one display/visualize a trace of a session with ANSI Escape codes embedded in it? I have a tshark trace of a telnet session to a HP switch. From that, I Follow TCP Stream and get a pseudo-...
0
votes
1answer
347 views

Cannot telnet my computer

A service is running in my system (redhat linux) which opens the port 9000. When i do # telnet localhost 9000 it says, Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape ...
8
votes
9answers
13k views

keyboard shortcut to quit 'telnet'

on Windows XP/server 2003 When telnet some remote host on a specified port, after connection established, sometimes press ctrl+] doesn't quit. Is there any command can quit instead of just close the ...
6
votes
2answers
46k views

“-bash: telnet: command not found ” error?

I have the following services running: sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off tcsd 0:...
1
vote
3answers
1k views

Why does bash invocation differ on AIX when using telnet vs ssh

I am using an AIX 5.3 server with a .bashrc file set up to echo "Executing bashrc." When I log in to the server using ssh and run: bash -c ls I get: Executing bashrc . .. etc.... However, when ...
0
votes
1answer
920 views

Different behaviour of netcat from telnet when connecting to public route server

I have observed a different behaviour between netcat and telnet when connecting to the public route server bgp-view.tvnetwork.hu and issuing the command show ip bgp. Using Telnet the output (which is ...
1
vote
3answers
2k views

How to change OpenSSH banner text when testing the port via telnet

I'm deploying a script that runs on various clients behind firewalls that I don't control. The script attempts an SSH client login to a remote server that I do control (the script comes pre-loaded ...
0
votes
1answer
76 views

Cannot connect to email server from a remote pc

When I try to connect to my mailserver from my home pc like this telnet whomakescoffee.com 25 I cannot connect. If I type in the same command on my server there is no problem. I have also tried ...
0
votes
2answers
6k views

How can I access a shared Exchange mailbox with IMAP (over telnet)?

I have an Mailbox which multiple users have access to, it works fine for me and I can add it in Outlook as an additional mailbox to my account and list all its content. I can access my personal ...
1
vote
1answer
2k views

redirecting output from telnet / nc to file in script fails when cron'd

So, I have device on my network which sits there listening on a port for a connection, and when a connection is made it dumps ascii data out. I need to capture that data to a file. I wrote a dead ...
1
vote
3answers
3k views

Scripting (piping) commands into a telnet session

i use a cronjob to execute a filetransfer to a host and then telnet into the host and pipe some commands into it. HOST=somehost USER=postgres PASSWD=blabla ftp -n -v $HOST <<END_SCRIPT quote ...