关于 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. Azure 项目构建 – 部署高可用的 Python Web 应用

    Python 以其优美,清晰,简单的特性在全世界广泛流行,成为最主流的编程语言之一.Azure 平台针对 Python 提供了非常完备的支持.本项目中,您将了解如何构造和部署基于 Azure Web ...

  2. Vue-Render函数理解示例

    对应文档节点: https://vuefe.cn/v2/guide/render-function.html#Slots <body> <div id="app" ...

  3. alert 多语言的处理

    1. code <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <m ...

  4. Java基础重点知识之欣欣向然

    题目: 第一题:二重循环: public class Text01 { //完成歌曲排序的效果 public static void main(String[] args) { String[] zi ...

  5. 基础架构之GitLab

    Git几乎是软件开发人员的必备工具了,关于代码管理,公司都一般都会搭建自己的仓库,关于GitLab的详细介绍参见官方网站详见 https://about.gitlab.com,这篇文章主要介绍安装及使 ...

  6. 【Android】修改包名

    工程写的差不多了才发现原来用的包名还是自己尝试性的进行写代码的时候用到的.但apk的发布,google map api的申请等等方面都需要用到一个比较规范的包名.这就涉及到修改包名的问题. 包名一开始 ...

  7. idea 使用 git打成jar包到 nexus

    1.使用idea生成jar包参考:http://blog.csdn.net/eastgrand/article/details/11945309 2.进入到 自己的工程目录(含有pom.xml的目录) ...

  8. nodejs + redis/mysql 连接池问题

    nodejs + redis/mysql 连接池问题 需不需要连接池 连接池的作用主要是较少每次临时建立连接所带来的开销.初步一看,nodejs运行单线程上,它不能同时使用多个连接,乍一看是不需要连接 ...

  9. spring----面试题

    1.什么是Spring beans? Spring beans 是那些形成Spring应用的主干的java对象.它们被Spring IOC容器初始化,装配,和管理.这些beans通过容器中配置的元数据 ...

  10. 密码存储中MD5的安全问题与替代方案

    md5安全吗?有多么地不安全?如何才能安全地存储密码?... md5安全吗? 经过各种安全事件后,很多系统在存放密码的时候不会直接存放明文密码了,大都改成了存放了 md5 加密(hash)后的密码,可 ...