0
点赞
收藏
分享

微信扫一扫

centos 6.8 安装telnet-server服务


检查是否安装了telnet服务

[root@localhost app]# rpm -qa | grep telnet

若返回为空,则证明没有安装
YUM 安装

[root@localhost app]# yum -y install telnet telnet-server

启动telnet服务
编辑/etc/xinetd.d/telnet文件,将disable 改为no

[root@localhost app]# vim /etc/xinetd.d/telnet

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

[root@localhost app]# service xinetd restart
停止 xinetd: [失败]
正在启动 xinetd: [确定]
设置telnet 服务开机自启动
[root@localhost app]# chkconfig telnet on


举报

相关推荐

0 条评论