Showing results for 
Search instead for 
Did you mean: 

Occasional Contributor


i am not getting access to other system through telnet it is showing this type of error:
Connected to
Escape character is '^]'

can u please help me out.points assured.
Ivan Ferreira
Honored Contributor

Re: telnet

These kinds of problems is generally related to DNS configuration.

Add the client IP in the /etc/hosts file on server and try again. Check your DNS configuration.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: telnet


It would appear you are not connecting to a properly configured telnet server.

This is typical of what would happen if you had a web or other type of server listening on port 23.

I would check the configuration and status of the telnet server you connect to.

You may be able to use ssh as an alternative, more secure connection method.

Steven E Protter
Owner of ISN Corporation
Honored Contributor

Re: telnet

The message says "Connected", so the inetd process in the other host has accepted the connection.

If the connection is closed immediately after that, the other host may have a tcpwrapper that shuts the connection down.
- /etc/hosts.allow and /etc/hosts.deny at the other host: is the system you're telnetting from allowed to connect?
- if the allow/deny rules contain names instead of IP addresses, verify that the other host has access to DNS.

If the connection hangs after the messages you listed, the system may have some difficulties in starting the telnetd process from inetd.

In both cases, the syslog on the destination host may have more information about why the connection does not succeed.