2009-12-08 06:34:08     telnetd

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2009-12-08 06:34:08     telnetd

Parimala Baggiri (INDIA)

Message: 83239   




          I need telnetd running as stand alone application instead through inetd. For that I tried


/bin/telnetd command by giving options but it is not considering any option and always gives


./bin/telnetd: getpeername: Socket operation on non-socket

² ²  ²# ²'^C


and also tried


busybox telnetd -p 5000


I could see telnetd waiting on port 5000 for client connections using netstat command


but when I try to connect to telnetd waiting on 5000, immediately the connection is getting closed like


telnet 5000



Connected to

Escape character is '^]'.


Connection closed by foreign host.




How can I make telnetd to wait on different port other than changing inetd.conf?








2009-12-08 17:43:07     Re: telnetd

Mike Frysinger (UNITED STATES)

Message: 83255   


the default telnetd doesnt support anything other than inetd.  you'd have to edit the telnetd source code to remove the define that disables everything.


did you enable the login utility for telnetd to execute ?  otherwise it wont have any way of authenticating you.


telnet in general is a bad idea.  if this is something that is going over the network, you should probably use dropbear.