Telnet server on CentOS 7
Hello guys, I am new to using Linux and trying to setup telnet server on CentOS 7. After installing with "yum install telnet telnet-server".
I tried editing the /etc/xinetd.d/telnet file which I could not find. Please what am I not doing right? |
Quote:
It looks like you might have to create the file if the package didn't do it for you. However, I don't know what to tell you to put in it. :( Does the information here or using Google with these search terms help at all? Regards... |
In a nutshell CentOS 7 uses Systemd which has replaced xinetd. To start the telnet server enter the command below. The preference is using ssh over telnet since telnet is not secure.
systemctl start telnet.socket |
thanks
telnet server now up and running but I had to add:
-A INPUT -p tcp -m state --state NEW --dport 23 -j ACCEPT in the iptables file to allow port 23 (telnet) and some few firewall commands. Using it in a lab environment so no problem with the clear text issue. SSH is a better option in a production environment. |
In a lab environment it would STILL be better to use ssh.
telnetd promotes bad habits, and you never know when an internet connection gets added. |
Cool, glad you got it working. :)
If you would, please mark this thread as "SOLVED." Regards... |
All times are GMT -5. The time now is 03:51 AM. |