[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Authentication for telnet.



From: Reco <recoverym4n@enotuniq.net> Tue, 1 Oct 2019 22:26:35 +0300
> apt install inetutils-telnetd openbsd-inetd

root@joule:~# dpkg -l | grep inet
ii  inetutils-telnetd                    2:1.9.4-7                           i386         telnet server
ii  openbsd-inetd                        0.20160825-4                        i386         OpenBSD Internet Superserver
ii  update-inetd                         4.49                                all          inetd configuration file updater

From: Reco <recoverym4n@enotuniq.net>, Tue, 1 Oct 2019 09:48:09 +0300
> 2) echo 'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/telnetd -a none -E /bin/bash' > /etc/inetd.conf

peter@joule:~$ grep telnet /etc/inetd.conf
#<off># telnet	stream	tcp	nowait	root	/usr/sbin/tcpd	/usr/sbin/telnetd -a none -E /bin/bash

Not sure #<off># should be there.  Have yet to find an explanation for it.

> 3) service openbsd-inetd restart

Executes with no report to the terminal.

> 4) telnet localhost

peter@joule:~$ telnet localhost
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Whereas the legacy telnetd accepted the connection.
That's why I used the legacy telnetd.

Tomorrow I might look for debug info for inetutils-telnetd.

Thanks,                        ... Peter E.


-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140            Bcc: peter at easthope. ca


Reply to: