Ubuntu安装telnet

1)sudo apt-get install telnetd openbsd-inetd

2)more /etc/inetd.conf
ftp    stream    tcp    nowait    root    /usr/sbin/tcpd /usr/sbin/proftpd
telnet        stream    tcp    nowait    telnetd    /usr/sbin/tcpd    /usr/sbin/in.tel
netd

3)sudo /etc/init.d/openbsd-inetd restart

4)登录测试:
rize@rize-laptop ~/s/tcpipsocket> telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Ubuntu 9.04
rize-laptop login:

转载于:https://www.cnblogs.com/jinrize/archive/2009/10/08/1579179.html

你可能感兴趣的:(Ubuntu安装telnet)