LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Telnet problem (https://www.linuxquestions.org/questions/linux-software-2/telnet-problem-577465/)

beyond911 08-16-2007 01:56 AM

Telnet problem
 
MY platform is FC7 and I install telnet in my machine but now there some problems
when I telnet 192.168.160.178.
It is displayed:
Code:

Trying 192.168.160.178...

Connected to 192.168.160.178.

Escape character is '^]'.

getaddrinfo: localhost: Success
Name or service not known: Illegal seek
Connection closed foreign host

:confused:

beyond911 08-16-2007 02:05 AM

Quote:

Originally Posted by beyond911 (Post 2860551)
MY platform is FC7 and I install telnet in my machine but now there some problems
when I telnet 192.168.160.178.
It is displayed:
Code:

Trying 192.168.160.178...

Connected to 192.168.160.178.

Escape character is '^]'.

getaddrinfo: localhost: Success
Name or service not known: Illegal seek
Connection closed foreign host

:confused:

But I search the answer that it may be a not trusted address now I post the content about "/etc/xinetd.d/telnet"
Code:

service telnet
{
  disable        = no
  flags = REUSE
  socket_type = stream
  wait = no
  user = root
  server = /usr/sbin/in.telnetd
  log_on_failure += USERID
  only_from = 192.168.160.178 127.0.0.1 192.168.161.242
}

Ps: IP that I telnet is 192.168.160.178

tajamari 08-16-2007 02:10 AM

Quote:

Originally Posted by beyond911 (Post 2860551)
MY platform is FC7 and I install telnet in my machine but now there some problems
when I telnet 192.168.160.178.
It is displayed:
Code:

Trying 192.168.160.178...

Connected to 192.168.160.178.

Escape character is '^]'.

getaddrinfo: localhost: Success
Name or service not known: Illegal seek
Connection closed foreign host

:confused:

do you really need a telnet? much better and secure way is by using SSH. avoid using telnet.

beyond911 08-16-2007 02:17 AM

Quote:

Originally Posted by tajamari (Post 2860561)
do you really need a telnet? much better and secure way is by using SSH. avoid using telnet.

Thanks
yes, what you said is right and I trying do it and I study it.

tangyufu333 08-16-2007 08:39 AM

yes,you'd better use ssh to control remote host


All times are GMT -5. The time now is 09:22 PM.