Can anyone help me figure out how to disable Telnet? I want to disable it and replace it with Ssh. Just not sure how to go about it.
Hi Larry.. follow these steps to disable telnet on your server:
SSH into server and login as root.
At shell command prompt type the following command and press Enter. This example use pico to edit text file, you can use vi or other text editor if you want. pico -w /etc/xinetd.d/telnet
Locate the following line: disable = no
Change the “disable = no” to “disable = yes” (no to yes).
Save and exit.
Restart the inetd service by using the following command: /etc/rc.d/init.d/xinetd restart
Turn off Telnet through chkconfig as well because it can still start through that: /sbin/chkconfig telnet off
I am not sure I quite understand the difference between Telnet and SSH. You can use PuTTy with both, I believe. I hear that Telnet is not secure... does that mean someone can hack your connection?
I am not sure I quite understand the difference between Telnet and SSH. You can use PuTTy with both, I believe. I hear that Telnet is not secure... does that mean someone can hack your connection?
Yes, telnet isnt considered to be secure, hence SSH (specially the v2 [SSH2]) is considered to be the safest way to connect to a remote Linux server.. & PuTTy is one of my favs
Quote:
Originally Posted by larrysstyle
Rocky awesome job. You explained it perfectly and I used your instructions step by step and my Telnet is now disabled. Thanks Man!
You're most welcome.. feel free to ask any questions you doubt about
Yes, telnet isnt considered to be secure, hence SSH (specially the v2 [SSH2]) is considered to be the safest way to connect to a remote Linux server.. & PuTTy is one of my favs You're most welcome.. feel free to ask any questions you doubt about
I didn't realize that Telnet wasn't considered secure. Hmmm, maybe I should switch back.
Yes, telnet isnt considered to be secure, hence SSH (specially the v2 [SSH2]) is considered to be the safest way to connect to a remote Linux server.. & PuTTy is one of my favs You're most welcome.. feel free to ask any questions you doubt about
Telnet is also an older feature if I remember correctly, which makes its security somewhat outdated.
Thanks for the additional info, guys. Guess it's better to just disable Telnet, huh? It's kinda strange to think of Telnet as insecure, though, since I used to use it a lot way back in the day. That probably should have told me it was outdated, though, if I used to use it that long ago. :P