1753856 Members
7171 Online
108809 Solutions
New Discussion юеВ

Re: telnet

 
anilkumar.bg
Occasional Contributor

telnet

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

can u please help me out.points assured.
3 REPLIES 3
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

Shalom,

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.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Matti_Kurkela
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.
Check:
- /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.

MK
MK