ubuntu12.04 telnet配置
来源:互联网 发布:java获取每个月第一天 编辑:程序博客网 时间:2024/05/29 18:35
刚安装的ubuntu12.04还没有telnet功能,需要配置一下
我主要是想让ubuntu12.04开启telnet服务做服务器
安装openbsd-inetd:
#sudo apt-get install openbsd-inetd
安装telnetd:
#sudo apt-get install telnetd
在etc/inetd.conf文件中可以看到这一行内容:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
如果没有这一行内容,就手动加上
重启openbsd-inetd
#/etc/init.d/openbsd-inetd restart
查看telnet运行状态
#netstat -a | grep telnet
输出: tcp 0 0 *:telnet *:* LISTEN
在windows的命令行中输入:telnet 192.168.1.8(我的linux的IP地址)
按照提示输入用户名和密码进入(非root用户)
效果如下:
Ubuntu 12.04
ubuntu login: kevin
Password:
Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19
20:34:50 UTC 20
10 i686 GNU/Linux
Ubuntu 12.04
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
New release 'natty' available.
Run 'do-release-upgrade' to upgrade to it.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19
20:34:50 UTC 20
10 i686 GNU/Linux
Ubuntu 12.04
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
New release 'natty' available.
Run 'do-release-upgrade' to upgrade to it.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
0 0
- ubuntu12.04 telnet配置
- ubuntu12.04 telnet配置
- ubuntu12.04 telnet配置
- ubuntu12.04 安装telnet服务器
- ubuntu12.04安装ssh和telnet服务器
- ubuntu12.04安装ssh和telnet服务器
- ubuntu12.04安装ssh和telnet服务器
- Ubuntu12.04设置samba服务器 和 telnet
- ubuntu12.04安装ssh和telnet服务器
- ubuntu12.04配置
- ubuntu12.04简单配置
- ubuntu12.04配置adb
- ubuntu12.04软件配置
- Ubuntu12.04配置网络
- ubuntu12.04配置emacs23
- Ubuntu12.04 配置Goagent
- 配置ubuntu12.04
- Ubuntu12.04网络配置
- 随时修改google浏览器安装目录、缓存路径、用户收藏路径
- 利用反射修改ListView的ScollBar图标
- STL中vector、list、deque和map的区别
- 带通配符的数
- 【nyist】Personal Contest.2比赛总结
- ubuntu12.04 telnet配置
- Android中Context详解 ---- 你所不知道的Context
- Gstreamer 插件编写【二】高级特性
- 解决Clock skew detected.
- TCP扫描和UDP扫描以及它们的区别
- Java Thread 总结
- 程序员练级之路
- 数据挖掘常用的方法(分类,回归、聚类、关联规则)
- 学习Android之第二个小程序(startActivityForResult与onActivityResult)