关于 ssh 有人已经总结得非常好了,这里推荐大家看下 阮一峰 写的 ssh原理与应用 写得简单易懂,非常赞。

  关于 ssl  这里有一篇博文写得也不错,ssl协议详解

  好了,那 ssh 和 ssl 有什么区别呢?网上找到一篇,可惜是英文的,我这个渣英文水平,斗胆翻译一下

  SSH (Secure Shell) and SSL (Secure Sockets Layer) can both be used to secure communications across the Internet. This page tries to explain the differences between the two in easily understood terms.

  SSH (secure shell) 和 ssl(secure socket layer) 都可以用于网路通讯加密,这篇文章会尝试以比较容易理解的方式来解释两者的不同。

  SSL was designed to secure web sessions; it can do more, but that's
the original intent.

  SSL的设计是为了加密网络的session,它可以有其它的用途,但是加密session才是它的设计初衷。

  SSH was designed to replace telnet and FTP; it can do more, but
that's the original intent.

  SSH 是为了代替 telnet 和 FTP,它也可以有其它的用途,但是设计初衷是为了替换 telnet 和 FTP。

  SSL is a drop-in with a number of uses. It front-ends HTTP to give
you HTTPS. It can also do this for POP3, SMTP, IMAP, and just about
any other well-behaved TCP application. It's real easy for most
programmers who are creating network applications from scratch to
just grab an SSL implementation and bundle it with their app to
provide encryption when communicating across the network via TCP.
Check out: stunnel.org.

  SSL 具有很多的用途,HTTPS的实现就是在HTTP之前经过了SSL的加密,它也可以用在POP3,SMTP,IMAP以及几乎所有支持TCP协议的应用之上。对于从头开始创建网络应用程序的大多数程序员,只需要将SSL与其应用程序捆绑在一起,即可通过TCP在网络上进行通信时提供加密,这是非常简单的。

  SSH is a swiss-army-knife designed to do a lot of different things,
most of which revolve around setting up a secure tunnel between
hosts. Some implementations of SSH rely on SSL libraries - this is
because SSH and SSL use many of the same encryption algorithms
(i.e. TripleDES).

  SSH是一种瑞士军刀,旨在做许多不同的事情,其中​​大部分都围绕在主机之间建立安全通道。 SSH的一些实现依赖于SSL库 - 这是因为SSH和SSL使用许多相同的加密算法。

  SSH is not based on SSL in the sense that HTTPS is based on SSL.
SSH does much more than SSL, and they don't talk to each other -
the two are different protocols, but have some overlap in how they
accomplish similiar goals.

  跟HTTPS基于SSL不同,SSH不是基于SSL的。 SSH和SSL 是不同的协议,SSH实现的功能比SSL更多,它们之间不能通信,但是它们在实现类似目标方面有一些重叠。
  
  SSL by itself gives you nothing - just a handshake and encryption.
You need an application to drive SSL to get real work done.

  SSL本身并不能提供服务, 只是一个握手和加密。您需要一个应用程序来驱动SSL才能完成实际工作(例如http)。
  
  SSH by itself does a whole lot of useful stuff that allows users to
perform real work. Two aspects of SSH are the console login (telnet
replacement) and secure file transfers (ftp replacement), but you
also get an ability to tunnel (secure) additional applications,
enabling a user to run HTTP, FTP, POP3, and just about anything
else THROUGH an SSH tunnel.

  SSH本身做了很多有用的东西,允许用户执行真正的工作。 SSH的两个方面是控制台登录(telnet替换)和安全文件传输(ftp替换),但您还可以通过隧道(安全)其他应用程序的功能,使用户能够运行HTTP,FTP,POP3和任何可以使用SSH隧道的应用。

  Without interesting traffic from an application, SSL does nothing.
Without interesting traffic from an application, SSH brings up an
encrypted tunnel between two hosts which allows you to get real
work done through an interactive login shell, file transfers,
etc.

  如果没有来自应用程序的流量,SSL什么都不做。没有来自应用程序的流量,SSH会在两台主机之间创建一个加密隧道,这样可以通过交互式登录shell,文件传输等方式完成实际工作。

  Last comment: HTTPS does not extend SSL, it uses SSL to do HTTP
securely. SSH does much more than SSL, and you can tunnel HTTPS
through it! Just because both SSL and SSH can do TripleDES doesn't
mean one is based on the other.

  最后评论:HTTPS不会扩展SSL,它使用SSL安全地执行HTTP。 SSH比SSL更好,您可以通过HTTPS隧道!只是因为SSL和SSH都可以做三重DES并不意味着一个基于另一个。

  

SSH 与 SSL的更多相关文章

  1. SSH与SSL

    1. SSL SSH 即Secure Shell,它主要由三部分组成: 第一部分:连接协议 [SSH-CONNECT] 将多个加密隧道分成逻辑通道.它运行在用户认证协议上.它提供了交互式登录话路.远程 ...

  2. ssh和ssl的联系和区别

    ssh:Secure Shell,安全Shell,是一个软件,处于应用层旨在取代明文通信的telnet:对应的开源实现程序是openssh. ssl:Secure Sockets Layer,安全套接 ...

  3. SSH、SSL与HTTPS的联系

    SSH 维基百科中对SSH协议的定义如下 Secure Shell(缩写为SSH),由IETF的网络工作小组(Network Working Group)所制定:SSH为一项创建在应用层和传输层基础上 ...

  4. fedroa20中将ssh,ssl升级到当前最新版本

    Fedroa20下手工安装openssh-server 本例以Fedroa20为例,需要下载:zlib-1.2.8.tar.openssl-1.0.2e.tar. openssh-7.1p1.tar. ...

  5. SSH和SSL比较

    一.SSH介绍 什么是SSH? 传统的网络服务程序,如:ftp.pop和telnet在本质上都是不安全的,因为它们在网络上用明文传送口令和数据, 别有用心的人非常容易就可以截 获这些口令和数据.而且, ...

  6. 【网络】ssl与ssh

    ssh(安全外壳协议):百度百科 ssl(安全套接字):http://kb.cnblogs.com/page/162080/ https应用了ssl协议 ssh与ssl的区别:http://blog. ...

  7. SSL和SSH的差别

    有人说,SSH通常是用来提供安全的登录用的.SSL仅仅是一个在协议层中增加的一层用来提供安全.    SSH工作在TCP之上,能够在启动一个SSH应用后.在其通道里执行其他协议的应用.如邮件.    ...

  8. [Web] 网络安全(SSH SSL HTTPS)

    概念 SSH(Secure Shell) 一种安全通信协议 为shell提供加密通信服务 使用了非对称加密和对称加密 对称加密(Symmetric-Key Encryption):只用一个密钥来进行加 ...

  9. Git SSL公钥密钥生成

    下面教大家简单易懂的五步配置好密钥 第一次配置ssh 和ssl git config --global --list 查看git的配置 步骤: 1. git config --global user. ...

随机推荐

  1. 线上服务器PHP版本编译安装升级全记录

    1.将原来的PHP重命名一下 cd /usr/local/bin/ mv php php.2.9 2.安装依赖 yum install gcc gcc-c++ libxml2 libxml2-deve ...

  2. 原创经验:微信小程序开发总结

    学习时间不短了.今天公司不加班总结一下我的开发经验吧,以下都是我认为很重要的总结哦!写下来让我自己也记得更清楚,同时希望可以帮助到有需要的同学哦 一: 参数传值的方法 1:  data-id我们可以给 ...

  3. java 并发(五)---AbstractQueuedSynchronizer(4)

    问题 : rwl 的底层实现是什么,应用场景是什么 读写锁 ReentrantReadWriteLock 首先我们来了解一下 ReentrantReadWriteLock 的作用是什么?和 Reent ...

  4. 二:Vim常用命令

    一般模式下的命令: -- 插入命令 i 光标前插入 I 当前行开始 o 下一行 O 上一行插入新行 a 光标后插入 A 当前行末尾 -- 定位命令 :set nu 显示行号 :set nonu 取消行 ...

  5. spring AOP Capability and Goals(面向方面编程功能和目标归纳)

    原官方文档链接: https://docs.spring.io/spring/docs/5.1.6.RELEASE/spring-framework-reference/core.html#aop-i ...

  6. Struts2 学习(一)

    一.Struts 介绍 1.Struts2的概述 1.早期开发模型Servlet+JSP+JavaBean(Model2)显得力不从心: 流程凌乱.数据传递无序.缺乏辅助功能. 2.MVC模式的轻量级 ...

  7. base64编码 的 图片 另存为下载

    功能描述: 有一段base64字符串的图片,将其保存下载为png图片! 可以:  直接 a 链接下载:  <a id="tttt" download="1.jpg& ...

  8. nodejs项目windows下开机自启动

    Nodejs项目开机自启动 1. 在需要自启动的项目中安装 node-windows 模块 npm install node-windows --save 2. 在项目根目录创建nw.js文件 代码截 ...

  9. 2-4 Sass的函数功能-颜色函数

    RGB颜色函数-RGB()颜色函数 在 Sass 的官方文档中,列出了 Sass 的颜色函数清单,从大的方面主要分为 RGB , HSL 和 Opacity 三大函数,当然其还包括一些其他的颜色函数, ...

  10. ArcGIS DataStore手册——常见问题篇

    第三章:ArcGIS DataStore常见问题处理 1.DataStore使用的数据库是什么? 从安装后的内容和配置完DataStore中Server Manager中的信息来看,DataStore ...