linux开启telnet

apt-get -y install openbsd-inetd

apt-get -y install telnetd

vim /etc/inetd.conf
      #: STANDARD: These are standard services.
      telnet    stream     tcp    nowait    telnetd    /usr/sbin/tcpd    /usr/sbin/in.telnetd

/etc/init.d/openbsd-inetd restart

netstat -a | grep telnet
效果如下

联系邮箱:yang_s1r@163.com 博客园地址:https://www.cnblogs.com/Yang34/
原文地址:https://www.cnblogs.com/Yang34/p/14236877.html