CentOS 7.4安装telnet服务端

CentOS 7.4安装telnet服务端

  • 安装xinetd服务
# yum -y install xinetd
  • 安装telnet-server
# yum -y install telnet-server telnet
  • 修改telnet-server配置文件

[root@test ~]# cat /etc/xinetd.d/telnet
# default: yes
# description: The telnet server servestelnet 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
}
  • 添加开机自启
systemctl restart xinetd.service
systemctl enable xinetd.service
systemctl enable telnet.socket
上一篇:Windows安装VNC服务端


下一篇:多个Linux发行版安装ss服务端