Linux学习笔记 20(Telnet服务的应用)

1、 安装telnet服务

Linux学习笔记 20(Telnet服务的应用)
Linux学习笔记 20(Telnet服务的应用)

2、 telnet服务器的配置

守护进程服务的位置:/etc/xinetd.d
Linux学习笔记 20(Telnet服务的应用)

3、 修改/etc/xinetd.d/telnet文件

(1) disable参数意义:是否启用服务
(2) only_from参数意义:允许哪些主机访问
(3) no_access参数意义:拒绝哪些主机访问
(4) access_times参数意义:服务开放时间
Linux学习笔记 20(Telnet服务的应用)

4、 重启服务

Service xinetd restart也可以重启
Linux学习笔记 20(Telnet服务的应用)

5、 安装telnet客户程序

Linux学习笔记 20(Telnet服务的应用)
Linux学习笔记 20(Telnet服务的应用)

6、 关闭防火墙和selinux

Linux学习笔记 20(Telnet服务的应用)

7、 设置root用户用户远程登录Telnet服务

Linux学习笔记 20(Telnet服务的应用)