telnetd

James Gray james at gray.net.au
Fri Feb 2 21:03:03 UTC 2007


User Iam wrote:
> Hi
> 
> Just installed telnetd..
> 
> Why can't I telnet into myself..
> 
> iam at suna:~$ telnet localhost
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> iam at suna:~$
> 
> 
> talk            dgram   udp     wait    nobody.tty      
> /usr/sbin/in.talkd      in.talkd
> ntalk           dgram   udp     wait    nobody.tty      
> /usr/sbin/in.ntalkd     in.ntalkd
> telnet          stream  tcp     nowait  telnetd.telnetd /usr/sbin/tcpd  
> /usr/sbin/in.telnetd
> /etc/inetd.conf (END)
> 
> 
> What am I missing???

Is inetd actually listening for incoming telnet connections?
netstat -a | grep LIST

You should see a line that lists telnet.  If not, restart inetd:
sudo /etc/init.d/inetd restart

FWIW, why do you want to use telnet?  It's unencrypted and as a result 
extremely insecure.  Why not use SSH?

Cheers,

James




More information about the ubuntu-users mailing list