首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

Ubuntu安装telnet

作者:佚名  来源:不详  发布时间:2008-6-3 8:06:00
1)sudo apt-get install telnetd openbsd-inetd

2)more /etc/inetd.conf
## netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
确保配置文件里有以上内容!

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

4)登录测试:
admin@ubuntu:~$ telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Ubuntu 7.04
ubuntu login: admin
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图