Score:0

Setting up unsecure telnet

cn flag

I want to demonstrate serial communications in a class. Is it possible/how to set up a good old port 23 unencrypted console service in Ubuntu?

guiverc avatar
cn flag
have you tried `sudo apt install telnetd` ?
Score:0
de flag
ob2

You can install and start a telnet server with this small process. For your information, telnet default port is not 22 (ssh) but 23.

sudo apt install inetutils-telnetd telnet

Edit the file /etc/inetd.conf and comment out the following line

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/telnetd

Then restart inet server.

sudo systemctl restart inetutils-inetd

To snif packages, use then tcpdump. You can install with the following command.

sudo apt install tcpdump

Use the following command to display the traffic on port 23 (keep the terminal open, and open a new one).

sudo tcpdump -A -i lo dst port 23

Finally, run telnet on your computer.

telnet localhost 23

Login with your local account, you will see the written text in clear into tcpdump.

telnet

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.