centos7使用telnet協議登錄

1、首先服務器必須安裝三個包telnet、telnet-server、xinetd,使用rpm -qa | grep 包名 命令查看

2、安裝包,掛載系統光盤,使用rpm -ivh 包名 安裝  或者直接用yum install安裝,yum install telnet-server  yum install telnet  yum install xinetd 

3、安裝完成後將xinetd、telnet服務加入開機啓動

 systemctl enable xinetd.service 

 systemctl enable telnet.socket 

4、啓動服務

 systemctl start telnet.socket 

 systemctl start xinetd(或service xinetd start)

5、查看23端口是否監聽

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章