zoukankan      html  css  js  c++  java
  • ssl与ssh

    openssl genrsa -out private_key.pem 1024

    ssh-keygen -t rsa -C zzf073@163.com

    ssl是安全会话协商机制;

    ssh是安全访问机制;

    SSH是一个独立的安全会话应用

    ssl是https协议的一部分。

    ssl是一个库,ssh是一个独立的应用。

    ssl独立以后,加上鉴权和复用机制以后就是ssh。

    SSH 为建立在应用层基础上的安全协议。

    SSH是由客户端和服务端的软件组成的

    This isn't a reasonable comparison to make. SSL is a general method for protecting data transported over a network, whereas SSH is a network application for logging in and sharing data with a remote computer.

          SSL              SSH

    +-------------+ +-----------------+

    | Nothing     | | RFC4254         | Connection multiplexing

    +-------------+ +-----------------+

    | Nothing     | | RFC4252         | User authentication

    +-------------+ +-----------------+

    | RFC5246     | | RFC4253         | Encrypted data transport

    +-------------+ +-----------------+

    They differ on the things which are around the tunnel. SSL traditionally uses X.509 certificates for announcing server and client public keys; SSH has its own format. Also, SSH comes with a set of protocols for what goes inside the tunnel (multiplexing several transfers, performing password-based authentication within the tunnel, terminal management...) while there is no such thing in SSL, or, more accurately, when such things are used in SSL they are not considered to be part of SSL (for instance, when doing password-based HTTP authentication in a SSL tunnel, we say that it is part of "HTTPS", but it really works in a way similar to what happens with SSH).

    https://security.stackexchange.com/questions/1599/what-is-the-difference-between-ssl-vs-ssh-which-is-more-secure

    SSH 只是加密的shell,最初是用来替代telnet的。通过port forward,也可以让其他协议通过ssh的隧道而起到加密的效果。

    OpenSSL 一个C语言函数库,是对SSL协议的实现。

    openssl 中也有个叫做 openssl 的工具,是 openssl 中的库的命令行接口。

    OpenSSH 是对SSH协议的实现。

    openssh依赖于openssl,没有openssl的话openssh就编译不过去,也运行不了。

    https://blog.csdn.net/whatday/article/details/89204543

  • 相关阅读:
    ThinkPHP 3.2 调用自定义函数库
    phpstorm 2017版代码提示功能开启解决方案
    phpstorm 2017激活
    JavaScript返回上一页和返回上一级页面并刷新
    PHP处理Ajax请求与Ajax跨域
    13个能快速开发android的经典项目
    分享6款优秀的 AR/VR 开源库
    Android-----购物车(包含侧滑删除,商品筛选,商品增加和减少,价格计算,店铺分类等)
    Android------视频播放器(包含全屏播放,快退,快进,腾讯新闻的列表播放等)
    吴恩达课后作业学习2-week1-2正则化
  • 原文地址:https://www.cnblogs.com/feng9exe/p/11883724.html
Copyright © 2011-2022 走看看