小型的 SSH 服務器:TinySSH

jopen 10年前發布 | 15K 次閱讀 TinySSH

TinySSH 是一個小型的 SSH 服務器,使用最先進的 NaCl / TweetNaCl 加密庫。提供基于 CurveCP 非常好的數據TCP傳輸安全性。

Features

  • easy auditable - TinySSH has less than 100000 words of code
  • no dynamic memory allocation - TinySSH has all memory statically allocated (less than 1MB)
  • simple configuration - TinySSH can't be misconfigured
  • reusing code - TinySSH is reusing build mechanism from NaCl and libraries from CurveCP implementation
  • reusing software - TinySSH is using tcpserver/curvecpserver for TCP/CurveCP connection
  • limited amount of features - TinySSH doesn't have features such: SSH1 protocol, compression, scp, sftp, ...
  • no older cryptographic primitives - rsa, dsa, classic diffie-hellman, md5, sha1, 3des, arcfour, ...
  • no copyright restrictions - TinySSH is in the public domain
  • no dependency on OpenSSL - TinySSH is using NaCl / TweetNaCl

Security features

  • using NaCl / TweetNaCl cryptographic library (minimum 128-bit security, side-channel attack resistant, state-of-the-art crypto, ...)
  • public-key authentication only (no password or hostbased authentication)

Crypto primitives

  • ssh-ed25519 + curve25519-sha256@libssh.org + chacha20-poly1305@openssh.com
  • ready for ecdsa-sha2-nistp256, ecdh-sha2-nistp256, aes128-ctr/aes256-ctr, but disabled at this time

項目主頁:http://www.baiduhome.net/lib/view/home/1399864048848

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!