linux下 telnet服务器的搭建

来源:互联网 发布:网络映射有什么用 编辑:程序博客网 时间:2024/06/04 20:10

在Ubuntu下,安装telnet 服务器的步骤:

1. 安装telnet 软件包:sudo apt-get intall xinted telnetd  //安装telnet软件包

2. 安装网络服务包:sudo apt-get install xinetd  

3.创建telnet 文件,vim /etc/xinetd.d/telnet,在telnet中输入如下内容:

4.编辑网络配置文件xinetd, vim /etc/xinetd.conf

,在xinetd.conf文件中输入如下内容:



5.此时telent的环境基本搭建完成,下面我们需要重启网络

使用命令:sudo /etc/init.d/xinetd  restart   显示内容如下:

6.查看telent网络服务器的命令

netstat -a | grep telnet        显示内容如下:


此时说明 telent服务器搭建完成。。。。


7.通过本地客户端访问搭建的服务器的命令


telent +IP地址,该IP地址为同一网段下的服务器IP地址



成功连接到telent服务器。。。







0 0
原创粉丝点击