ttysnoops

allows you to spy on telnet+serial connections

Debian Debian
RUN apt-get update && \ apt-get install -y ttysnoop
Ubuntu
RUN apt-get update && \ apt-get install -y ttysnoop
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y ttysnoop
Raspbian
RUN apt-get update && \ apt-get install -y ttysnoop
click the source code to copy install ttysnoops on any operating system with command-not-found.com