• 协议架构:SSH protocol is the standard for strong authentication, secure connection, and encrypted file transfers. We developed it.
    • RFC 4251
      • RFC 4253 Transport Layer
      • RFC 4252 Authentication
      • RFC 4254 Connection
  • 涉及到的密码学
    • 公钥 / 私钥
    • 对称密码体制、公钥密码体制
    • 相关算法
      • RSA(依赖:大数素因子分解难题
        • 破解走向登峰造极,密钥长度需要 2048 / 4096,性能的影响

          Why bigger isn’t always better when it comes to TLS key size | Fastly

        • 兼容性更好

      • 椭圆曲线算法:Curve25519 (依赖:离散对数难题
    • https://docs.github.com/cn/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
  • 实战项目(来自 @alkaidcc)
    • janmojzis/tinyssh: TinySSH is small server (less than 100000 words of code)