Re: Authentication for telnet.
From: Reco <recoverym4n@enotuniq.net>, Tue, 1 Oct 2019 09:48:09 +0300
> I fail to see how that's "OK".
"OK" was only my acknowledgement of your instruction or suggestion.
Not a confirmation of success.
> Try it:
>
> 1) apt install inetutils-inetd openbsd-inetd
Debian 10 allows me to install one or the other but not both.
I removed inetutils-inetd and installed openbsd-inetd.
> 2) echo 'telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/telnetd -a none -E /bin/bash' > /etc/inetd.conf
peter@joule:~$ dpkg -l | grep telnet /etc/inetd.conf
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd -a none -E /bin/bash
> 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...
Connected to localhost.
Escape character is '^]'.
telnetd: a: unknown option
Usage: telnetd [-debug port] [-D (options|report|exercise|netdata|ptydata)]
[-h] [-L login_program] [-n]
Connection closed by foreign host.
Appears the -a option is not available.
Regards, ... Peter E.
--
https://en.wikibooks.org/wiki/Medical_Machines
Tel: +1 604 670 0140 Bcc: peter at easthope. ca
Reply to: