LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2005, 12:41 PM   #1
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Exclamation Why you should use ssh instead of telnet.


Note: This is a simple information shot for the home and / or corporate user who still thinks that telnet is a good thing. One might think there are no more people feeling that way, but since Ive only today had to face people like this in 3 different instances, im inclined to believe this problem still exists at a large.

Why is telnet bad for you?
Telnet transfers all of its data unencrypted over the network. Also your username and password are sent in plain text! That means that anyone snooping around at any point along the way can capture your login info, or any data you manage over a telnet connection.

This, clearly is a very bad thing. Why is telnet like that? Telnet comes from a time when network security wasn't such an issue. It was used in LAN environments and such. (Someone please feel free to correct me) Nowadays telnet would never be used if people knew what was going on. Telnet is very old and not suitable for modern computing!

The telnet daemons (the process that sits on the server and processes your login) have had numerous vunerabilities and will continue to have them. Running telnetd is just one more old daemon waiting to be used to crack your machine! Don't run telnetd, it isnt good for any machine!

So, how do I log in then? Use SSH.

Why is SSH good for you?
SSH (Secure SHell) has been designed with one priority over others: security. All SSH connections are encrypted. OpenSSH is in constant development by the OpenBSD folks, and security is everything to them. You can count on a patch to be available if vunerabilities are encountered. OpenSSH also has very sophisticated methods of verifying the authecentity of the connection you are making. It checks for modified file permissions, host keys and alerts you if something is possibly wrong.

In conclusion: SSH works for the user almost like telnet except that its alot better and alot more secure. The topic of adding extra security to SSH is often discussed here also, and if youre interested in tightening your security even more, then head on for the search utility. "SSH keypairs" should get you started as keywords.. (:

Links for one who would like to learn more:
http://en.wikipedia.org/wiki/Telnet
http://en.wikipedia.org/wiki/ssh
http://en.wikipedia.org/wiki/Openssh

Some last words, if some mod finds my writing accurate enough, it might be a good idea to consider stickying this post or something similar to Networking, Security, Newbies, or something alike.. The telnet userbase is still far too large.. (Ofcourse it can be used for a whole lot more than just the telnet protocol, but those who use it for other things are skillfulled enough to see that the telnet protocol is a bad thing.. (: )
 
Old 12-02-2005, 12:45 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I'd also suggest looking at the LQ wiki and contributing any information you compile to it. Most forum posts like this tend to fall of the end of the list after a while.
http://wiki.linuxquestions.org/wiki/Telnet_and_SSH
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 04:19 PM
SSH/Telnet kbeaver Linux - Networking 8 07-22-2003 10:31 AM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 11:55 AM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 02:31 PM
Telnet / SSH Seph Linux - Security 2 07-13-2001 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration