Go Back   Web Server Hosting Forum by BODHost > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-09, 07:42
BOD Member
 
Join Date: May 2009
Posts: 50
Default Telnet?

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.
Reply With Quote
  #2 (permalink)  
Old 06-11-09, 10:18
Rocky's Avatar
Administrator
 
Join Date: Nov 2007
Posts: 121
Cool

Quote:
Originally Posted by larrysstyle View Post
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:
  1. SSH into server and login as root.
  2. 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
  3. Locate the following line: disable = no
    Change the “disable = no” to “disable = yes” (no to yes).
  4. Save and exit.
  5. Restart the inetd service by using the following command: /etc/rc.d/init.d/xinetd restart
  6. Turn off Telnet through chkconfig as well because it can still start through that: /sbin/chkconfig telnet off
Do get back if you come across any obstacles
__________________
Regards,
Rocky
Reply With Quote
  #3 (permalink)  
Old 06-11-09, 11:21
BOD Member
 
Join Date: Jun 2009
Posts: 47
Default

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?
Reply With Quote
  #4 (permalink)  
Old 06-11-09, 15:00
BOD Member
 
Join Date: May 2009
Posts: 50
Default

Rocky awesome job. You explained it perfectly and I used your instructions step by step and my Telnet is now disabled. Thanks Man!
Reply With Quote
  #5 (permalink)  
Old 06-11-09, 15:55
Rocky's Avatar
Administrator
 
Join Date: Nov 2007
Posts: 121
Smile

Quote:
Originally Posted by kirkas View Post
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 View Post
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
__________________
Regards,
Rocky
Reply With Quote
  #6 (permalink)  
Old 06-14-09, 05:25
BOD Member
 
Join Date: May 2009
Posts: 50
Default

Quote:
Originally Posted by Rocky View Post
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.
Reply With Quote
  #7 (permalink)  
Old 06-14-09, 19:07
BOD Member
 
Join Date: Apr 2009
Posts: 4
Default

Quote:
Originally Posted by Rocky View Post
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.
Reply With Quote
  #8 (permalink)  
Old 06-17-09, 12:59
BOD Member
 
Join Date: Jun 2009
Posts: 47
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 08:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2010, BODHost Ltd. All rights reserved.