当前位置:网站首页>telnet安装
telnet安装
2022-07-17 05:21:00 【yygyj】
一、安装telnet
step 1、rpm -qa telnet-server(无输出表示telnet-server未安装,则执行step2;否则执行step3)
step 2、yum -y install telnet-server(安装telnet-server)
step 3、rpm -qa telnet(无输出表示telnet未安装,则执行step4,否则执行step5)
[root@dev09 xinetd.d]# rpm -qa telnet
telnet-0.17-64.el7.x86_64
step 4、yum -y install telnet(安装)
二、重新启动xinetd守护进程
由于telnet服务也是由xinetd守护的,所以安装完telnet-server后,需要重新启动xinetd守护进程
step 5、service xinetd restart(如果启动正常直接跳到step7)
step 6、yum -y install xinetd (安装xinetd,然后在继续执行step5)
三、测试
查看tcp的23端口是否正常开启
step 7、netstat -tnl |grep 23 (如果无输出说明未正常启动,则step8;否则整个安装过程完成)
如下图所示则表示启动正常:
step 8、修改 /etc/xinetd.d/telnet 文件,将disable=yes修改为disable=no,并重新执行step5
如果/etc/ xinetd.d/ 该路径下没有telnet文件,则构造一个telnet文件。
------------我是分隔符------------------------
telnet文件内容如下:
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
--------------我是分隔符----------------------------
默认disable是yes,修改为no即可
边栏推荐
- Set the index library structure, add suggestions that can be automatically completed to users, and turn some fields into collections and put them into suggestions
- Experiment 1 simple program design
- Hand in hand building a home NAS universal server (1) | configuration selection and preparation
- Pytorch deep learning practice-b station Liu erden-day3
- 通过数据加密方案阻止勒索攻击
- 从输入URL到展示出页面
- ORACLE分组排序后获取第一条和最后一条值
- Es aggregation analysis reports an error: "reason": "text fields are not optimized for operations
- Depth first search (DFS for short)
- Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (III)
猜你喜欢

2022-7-15 cheap domestic PLC industrial control board with scattered records of 485 master-slave communication

Application case of CS brand sdnand in color detector industry

wireshark抓包:错误分析

Wu Enda machine learning chapter 14-15

双代号时标网络图

Wu Enda machine learning chapter 3-4

Network layer and IP learning

How can the new generation of CS sdnand (also known as patch T card) make the old MCU youthful

wireshark抓包:报文信息

吴恩达机器学习第6-7章
随机推荐
斑点检测 记录
Experiment 1 simple program design
伺服电机的电子齿轮比如何确定?
ARM开发环境入门
Vcenter6.7 installation and troubleshooting
山西省第二届网络安全技能大赛(企业组)部分赛题WP(三)
Full experience of soft examination at the beginning, middle and advanced levels
Some problems encountered in work
吴恩达机器学习第1-2章
实验二 类与对象定义初始化
双代号时标网络图
TCP协议
华为路由 端口映射
人脸识别错误
Get the first and last values after Oracle grouping and sorting
Share the application cases of CS brand patch T card in the field of hunting camera
Handle Chinese word segmentation IK word segmenter and expand and stop dictionary
NAND nor flash flash flash product overview
sql的约束条件
Es aggregation analysis reports an error: "reason": "text fields are not optimized for operations