SSH/Telnet

Enable Telnet in Linux Server

Linux does not enable Telnet because it is insecure, using SSH instead. To install and enable Telnet, install the telnet-server package. On Red Hat, use: #yum install -y telnet-server Ubuntu, use: #sudo apt-get install telnetd After installing the package, edit /etc/xinetd.d/telnet. service telnet { disable = yes //ให้แก้ไขเป็น no socket_type = stream wait = no user = root server = /usr/libexec/telnetd groups = yes flags = REUSE } Then run service xinetd restart. Or use: #chkconfig —level 345 telnet on //สำหรับ red hat #sudo /etc/init.d/inetd restart //สำหรับ ubuntu

EOF.← Back to articles