http://www.differencebetween.net/category/technology/protocols-formats/

Telnet vs SSH

    Secure Shell, commonly known as SSH, and Telnet are two network protocols that have been used widely at one point in time or another. They are both used to connect to remote servers in order to facilitate some sort of communications. The primary difference, which also led to one superseding the other, is in security. SSH offers security mechanisms that protect the users against anyone with malicious intent while Telnet has no security measures whatsoever.

    Telnet was designed to work within a private network and not across a public network where threats can appear. Because of this, all the data is transmitted in plain text, including passwords. This is a major security issue and the developers of SSH used encryptions to make it harder for other people to sniff the password and other relevant information. Telnet also omits another safety measure called authentication. This ensures that the source of the data is still the same device and not another computer. Without authentication, another person can intercept the communication and do what he wishes. This is also addressed in SSH as it uses a public key to authenticate the source of the data.

    Due to the security measures that were necessary for SSH to be used in public networks, each packet contains less data to make room for the data of the security mechanisms. In order to transmit the same amount of data, you would need to take-up a lot more bandwidth. This is called overhead and was such a major issue back when internet speeds were very low because it translates to a performance hit.

    The security issues of Telnet forced a lot of people to use SSH in order to protect themselves. It didn’t take a long time before SSH replaced Telnet in a great majority of its uses. Telnet did not fade away though as it is still used in some areas, mostly in testing and debugging. Telnet extensions were developed to provide security but they are not used in most Telnet implementations.

Summary:
. SSH and Telnet commonly serves the same purpose
. SSH is more secure compared to Telnet
. SSH encrypts the data while Telnet sends data in plain text
. SSH uses a public key for authentication while Telnet does not use any authentication
. SSH adds a bit more overhead to the bandwidth compared to Telnet
. Telnet has been all but replaced by SSH in almost all uses

FTP vs. Telnet

    FTP and Telnet are two very old protocols, that are used on networks to add certain functionalities. FTP is a File Transfer Protocol, and its only concern is to facilitate the transfer of files from one point to another, along with a few management capabilities like making and deleting directories. Telnet is a bit more like a ‘jack of all trades’, as it is simply a connection protocol that allows a user to connect to a remote server that is listening for Telnet commands. Once the connection is established, the user can then issue commands to the server computer, and examine the responses that are sent back.

    Although both started out as command line tools, GUIs later appeared that greatly simplified the use of FTP. Instead of knowing all the commands and typing out all the filenames, some dedicated applications let you browse a local drive and a remote drive, as if you are using a file explorer. It keeps all the commands invisible to the user, thereby lessening the learning curve. This is not really possible with Telnet, as there are a wide range of commands and parameters that can be issued to the server.

    Due to the age of both software, they do not have any built-in security measures. Even usernames and passwords are sent in plain text, making them vulnerable to sniffing. With later modifications, people can now use secure versions of FTP, called FTPS and SFTP. On the other hand, Telnet has been largely replaced by SSH, due to the addition of security measures. As Telnet has been superseded by SSH, making it secure seems redundant.

    Currently, FTP is still in wide use, as it is an easy way to upload files to web servers. There’s a wide array of applications that use FTP to achieve their purpose. The use of Telnet has been dwindling since the creation of SSH, but there are still people who use it mainly as a diagnostic tool. Telnet provides a good view of how certain network services work, by sending commands and examining the response to determine if it is proper or not.

Summary:
. FTP is a protocol used specifically for transferring files to a remote location, while Telnet allows a user to issue commands remotely.
. FTP can be used with a command line, a dedicated application, and even with most web browsers, while Telnet is restricted to the command line.
. There are ways to use FTP in a secure environment, while Telnet will always be unsecured.
. FTP is a well-known and reliable method of uploading files to web servers, while Telnet is now commonly used in diagnosing network services.

Different between Telnet/SSH/FTP的更多相关文章

  1. Centos开启telnet/ssh/ftp/sftp服务

    Telnet 开启telnet服务步骤: 1.   查看CentOS/Telnet_server版本:#cat /etc/issue,   #rpm -qa | grep telnet 2.   安装 ...

  2. ping telnet ssh netstat

    1.pingping命令工作在OSI参考模型的第三层-网络层.ping命令会发送一个数据包到目的主机,然后等待从目的主机接收回复数据包,当目的主机接收到这个数据包时,为源主机发送回复数据包,这个测试命 ...

  3. RPi 2B Android telnet ssh

    /*********************************************************************** * RPi 2B Android telnet ssh ...

  4. ROS 禁止公网暴力破解SSH FTP

    最简单的彻底禁止公网访问SSH FTP端口 1 2 /ip firewall filter add chain=input protocol=tcp dst-port=21-22 src-addres ...

  5. Telnet/SSH 客户端

    一.WinSCP linux 与 windows 间传递文件.可以与 putty 配合使用. 官网提供便携版下载:https://winscp.net/eng/downloads.php 支持中文,语 ...

  6. Telnet、FTP、SSH、SFTP、SCP

    [Telnet]著名的终端访问协议,传统的网络服务程序,如FTP.POP和Telnet,其本质上都是不安全的:因为它们在网络上用明文传送数据.用户帐号和用户口令. [telnet命令]telnet h ...

  7. 禁止root用户直接远程telnet/ssh登陆

    AIX 封闭root,只能使用su登录root用户,禁止root用户直接远程登陆. 1.  禁止telnet登录 smit chuser   ->root       ->User can ...

  8. Linux SSH,FTP服务配置

    CentOS-6.4-x86_64-minimal 0.网卡配置 参考:Linux系统\Centos没有网卡eth0配置文件怎么办? - http://jingyan.baidu.com/articl ...

  9. day9---paramiko ssh ftp

    安装 paramiko模块 win下: 进入到\Python35\Scripts> 执行:pip install paramiko Linux: 先升级下pip : pip3.5 install ...

随机推荐

  1. 模板自定义函数 template function

    sqlite3中的日期默认是UTC,当日期字段的默认值是CURRENT_TIMESTAMP时,这个日期和北京时间CST少了8小时. 网上建议说数据库里用UTC,读取数据时再转换为当地时间. web页面 ...

  2. 板载CAN的树莓派扩展板Strato Pi CAN

    板载CAN的树莓派扩展板Strato Pi CAN   Sfera Labs推出了最新的树莓派扩展组件“灵云派”,其中包括CAN总线,电气隔离的RS-485,RTC和9-65V电源. 位于意大利米兰的 ...

  3. python高速排序

    import random def rand(n): for i in range(n): yield random.randint(0,1000) #创建一个随机数列表 def createList ...

  4. Spark内部流程图

    转载自:https://blog.csdn.net/refuil/article/details/52055104

  5. Flutter - JSON to Dart,一个json转dart实体的网站

    如你所见,一个json转dart实体的网站,https://javiercbk.github.io/json_to_dart/

  6. Android应用安全之WEB接口安全

    Android应用安全不仅包括客户端的安全,也包括web接口的安全.移动App中的Web接口安全主要分为以下几块: 1.SQL注入漏洞 这是一个不能再常见的漏洞类型了,由于App的特性,开发人员认为使 ...

  7. 20155331《网络对抗》Exp5 MSF基础应用

    20155331<网络对抗>Exp5 MSF基础应用 基础问题回答 用自己的话解释什么是exploit,payload,encode 答:exploit就是漏洞利用.exploit就是利用 ...

  8. WPF编程 ,TextBlock 显示百分数值的一种简单方法。

    原文:WPF编程 ,TextBlock 显示百分数值的一种简单方法. 版权声明:我不生产代码,我只是代码的搬运工. https://blog.csdn.net/qq_43307934/article/ ...

  9. Dynamics 365 支持使用Web Api 通过名称来检索元数据

    关键检索元数据我在之前的一篇博文中稍有提及,当时是为了取实体的picklist字段的属性,但当时的版本只支持通过metadataid检索,而在365中又增加了名称的检索,方便了很多. 本篇依旧用之前博 ...

  10. AlarmManager守护服务和隐藏桌面图标

    1.主要内容 本章记录几段常用代码: 1.如何使用AlarmManager守护服务2.如何判断某服务是否正在运行 2.如何暂时禁用Android的组件 2.使用AlarmManager守护服务 Boo ...