首页 > Web开发 > 详细

ubuntu下开启telnet服务

时间:2015-03-10 18:53:14      阅读:272      评论:0      收藏:0      [点我收藏+]

首先安装openbsd-inetd: sudo apt-get install openbsd-inetd
然后检查文件/etc/inetd.conf,确保有这一行
telnet        stream    tcp    nowait    root    /usr/sbin/tcpd    /usr/sbin/in.telnetd
然后启动:sudo /etc/init.d/openbsd-inetd restart
就可以了
查看telnet服务是否启动: netstart -a | grep telnet
如果已经启动,可以得到如下信息:
tcp        0      0 *:telnet                *:*                     LISTEN 
可以通过登录本机,测试telnet服务是否可用:telnet localhost
如果可用,得到下面的提示:
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is ‘^]‘.
Ubuntu 10.04.1 LTS
eric-ztxie-desktop login:

ubuntu下开启telnet服务

原文:http://www.cnblogs.com/kangkai-bky/p/4326473.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!