关于 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. JS实现图片预览与等比缩放

    案例仅为图片预览功能,省略图片上传步骤,框架为easyui. HTML代码: @*text-align:center;水平居中 vertical-align: middle;display: tabl ...

  2. .Net程序员玩转Android系列之三~快速上手

    快速环境搭建和Hello World 第一步:JAVA SDK(JDK)的安装: 官方下载地址: http://www.oracle.com/technetwork/java/javase/downl ...

  3. jQuery多次选中checkbox失效

    在做项目的过程中,遇到一个问题.就是使用jquery的attr方法即 $("#aaa").attr('checked',true); $("#aaa").att ...

  4. String Control

    using System; using System.Collections.Generic; using System.Text; using System.Web; using System.We ...

  5. mysql load data infile auto increment id

    1. 问题描述 当使用load data infile 向表中插入数据 而主键id是 auto_increment 时 ,执行 load data 不会报错 但插入也不成功 2. 问题解决 2.1 方 ...

  6. java中如何使用BigDecimal使得Double类型保留两位有效数字

    一.场景:从数据表中读出Decimal类型的数据直接塞给Double类型的对象时,并不会有什么异常. 如果要再此基础上计算,就会发生异常. 比如:读出数据为0.0092,将其乘以100,则变成了0.9 ...

  7. 360浏览器内核控制标签meta说明

    浏览器内核控制标签meta说明 背景介绍 由于众所周知的原因,国内的主流浏览器都是双核浏览器:基于Webkit的内核用于常用网站的高速浏览,基于IE的内核主要用于部分网银.政府.办公系统等网站的正常使 ...

  8. git-中的命令与理解

    改变到要操作仓库的目录创建文件夹(mkdir 文件夹名) git init初始化一个git仓库 git add .git add --all两个命令一样作用,添加目录里面所有文件到本地工作区 git ...

  9. Spring中无法访问resources目录下页面或静态资源

    1.新建项目,在 resources 目录下创建 views 目录,在 views 目录下创建 index.html 页面,项目跑起来,浏览器访问页面,提示找不到页面之类的错误提示. 2.再尝试访问图 ...

  10. 01_NIO基本概念

    [NIO的几个概念] Buffer(缓冲区) Channel(通道,管道) Selector(选择器,多路复用器) [Buffer] Buffer是一个对象,它包括一些要写入或者要读取的数据.在NIO ...