telnet service

Check whether installation services

rpm -qa | grep telnet

Installation telnet and xinetd

yum install telnet

yum install xinetd

yum install telnet-server

Modify telnet configuration

vim /etc/xinetd.d/telnet

disable=yea改为disable=no

Restart xinetd service

service xinetd restart

Open port 23

iptables -I INPUT -p tcp --dport 23 -jACCEPT

iptables -I INPUT -p udp --dport 23 -jACCEPT
service iptables save

service iptables stop

 

Use the windows cmd

telnet virtual machine ip address

 

Guess you like

Origin www.cnblogs.com/16368a/p/11617593.html