Different between Telnet/SSH/FTP

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:
1. SSH and Telnet commonly serves the same purpose
2. SSH is more secure compared to Telnet
3. SSH encrypts the data while Telnet sends data in plain text
4. SSH uses a public key for authentication while Telnet does not use any authentication
5. SSH adds a bit more overhead to the bandwidth compared to Telnet
6. 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:
1. FTP is a protocol used specifically for transferring files to a remote location, while Telnet allows a user to issue commands remotely.
2. 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.
3. There are ways to use FTP in a secure environment, while Telnet will always be unsecured.
4. FTP is a well-known and reliable method of uploading files to web servers, while Telnet is now commonly used in diagnosing network services.

原文地址:https://www.cnblogs.com/dirge/p/9568575.html

时间: 2024-07-29 12:58:08

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

windows几个常见网络命令解析:ping, telnet, ssh, ftp/sftp, netstat, tracert, arp

1.ping 网络层协议,只能判断主机之间是否连接,不能判断端口是否开放. 2.telnet 应用层协议,是Intenet远程登录服务的标准协议和主要形式.登录的账号密码与数据明文传输,不加密. window为了安全考虑,一般禁用此命令,需要自己安装的(控制面板-程序-打开或关闭window功能,之后具体还要查怎么设)点击此查详细 如果安装了telnet,可用来测试端口是否开放:telnet IP:Port 3.ssh (Secure Shell) 建立在应用层和传输层基础上的安全协议,作用同上

one:配置console密码/telnet/ssh的配置(忘记密码)

①配置console登录密码 首先要配置认证的方式(aaa) [Server] aaa (认证方式) [Server-aaa] local-user admin1234 password irreversible-cipher(不可逆的密码) [email protected](本地用户admin1234 密码 ) [Server-aaa] local-user admin1234 privilege level 15(本地用户特权级15) [Server-aaa] local-user adm

ping telnet ssh netstat

1.pingping命令工作在OSI参考模型的第三层-网络层.ping命令会发送一个数据包到目的主机,然后等待从目的主机接收回复数据包,当目的主机接收到这个数据包时,为源主机发送回复数据包,这个测试命令可以帮助网络管理者测试到达目的主机的网络是否连接.ping无法检查系统端口是否开放.2.telnetTelnet是位于OSI模型的第7层---应用层上的一种协议,是一个通过创建虚拟终端提供连接到远程主机终端仿真的TCP/IP协议.这一协议需要通过用户名和口令进行认证,是Internet远程登陆服务

在 Scientific Linux 上安裝 telnet & ssh

Scientific Linux 6.4 安裝好,預設是沒有 telnet & ssh 服務的,得再自行安裝,當然,這麼重要的服務,安裝不可能太困難,以下分別說明安裝程序. telnet 服務安裝 切換到 root 身份,執行如下指令: yum install telnet telnet-server -y 修改 telnet 設定,執行如下指令: vi /etc/xinetd.d/telnet 內容如下: 紅色部份是維一要修改的,將 yes 改成 no. # default: on # des

LAMP环境搭建 Linux/SSH/FTP server

LAMP:linux + apache +mysql+php 附:SSH/FTP server 1.安装Ubuntu server 请参考官方文档 http://www.ubuntu.org.cn/download/server 2.修改root账户密码 [su/sudo] 打开终端输入: sudo passwd root ---输入当前账号密码 ---输入新root密码 ---再次输入新root密码 3.安装SSH服务 打开终端输入: sudo apt-get update ------更新软

免费开源软件kpym telnet/ssh server的使用

作者:iamlaosong 这是一个windows环境下架设telnet/ssh服务的服务器软件,程序较小,免费开源,用起来也简单. KpyM Telnet/SSH Server  官方网站 :http://www.kpym.com/2/kpym/index.htm 安装什么的就不说了,注意以下几点: 1.运行setup.bat进行服务器相关设置,启动和关闭服务等. 2.该软件的用户就是windows用户,所以要在windows下添加用户,设置密码,windows server新增用户要有远程登

使用Telnet/SSH去管理远程设备

一.案例拓扑图 二.为什么我们需要远程登陆? 很多情况下,你也许不能在设备前使用console线来管理,这时就需要通过telnet或SSH访问其CLI远程管理它,为了能够远程访问,必须先设置虚拟类型终端(VTY): 三.telnet和ssh Telnet:基于TCP协议,端口号23,是一组提供远程登录方法的程序,所有传输的信息(包括用户名和密码)都是明文的: SSH:基于TCP协议,端口号22,使用RSA算法对所有传输的信息(包括用户名和密码)进行加密,另一个优点是其传输的数据是经过压缩的,所以

RPi 2B Android telnet ssh

/*********************************************************************** * RPi 2B Android telnet ssh * 说明: * 由于我自己的树莓派没有显示屏,现在我自己又没有了电脑,很纠结的就是 * 我无法使用这玩意了,我也确实近2个月没碰过它,于是想到使用Android手机来 * 控制它,telnet.ssh也就成了可能. * * 2016-5-12 深圳 南山平山村 曾剑锋 **************

Telnet/SSH 客户端

一.WinSCP linux 与 windows 间传递文件,非常方便.可以与 putty 配合使用. 官网提供便携版下载,支持中文:https://winscp.net/eng/downloads.php 语言包:https://winscp.net/eng/translations.php 设置 putty 路径 免登录启动 putty 二.Putty 跨平台 Telnet/SSH 客户端 官方下载:https://www.chiark.greenend.org.uk/~sgtatham/p