- M0: libghostty SSH 终端(渲染/输入/连接)+ 白屏修复(OutputGate) + 会话状态机/自动重连 - M1: tsnet 用户态组网 + SSH-over-tsnet(fd 桥),shell 级真机验证;R5(Go+gvisor+C+++Swift 同进程) retire - M1.5: tmux -CC 原生 tab(MVP) - 结构: packages/(TXCore·TXTransport), apps/TerminalX, vendor/(libghostty-spm/libssh2/mbedtls/tsnet-bridge), artifacts/ - 文档: CLAUDE.md + docs/HANDOFF.md(新会话入口) - 环境: 认证代理→依赖 vendor 本地化;Go 在 ~/.local/go;仅模拟器/未签名 - 待续: M2 mosh, tmux 多 pane, M4 安全(host key/SE) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
77 lines
1.2 KiB
C
77 lines
1.2 KiB
C
/* Copyright (C) Viktor Szakats
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#define LIBSSH2_MD5_PEM LIBSSH2_MD5
|
|
|
|
#ifdef LIBSSH2_NO_MD5
|
|
#undef LIBSSH2_MD5
|
|
#define LIBSSH2_MD5 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_MD5_PEM
|
|
#undef LIBSSH2_MD5_PEM
|
|
#define LIBSSH2_MD5_PEM 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_HMAC_RIPEMD
|
|
#undef LIBSSH2_HMAC_RIPEMD
|
|
#define LIBSSH2_HMAC_RIPEMD 0
|
|
#endif
|
|
|
|
#if !defined(LIBSSH2_DSA_ENABLE)
|
|
#undef LIBSSH2_DSA
|
|
#define LIBSSH2_DSA 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_RSA
|
|
#undef LIBSSH2_RSA
|
|
#define LIBSSH2_RSA 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_RSA_SHA1
|
|
#undef LIBSSH2_RSA_SHA1
|
|
#define LIBSSH2_RSA_SHA1 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_ECDSA
|
|
#undef LIBSSH2_ECDSA
|
|
#define LIBSSH2_ECDSA 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_ED25519
|
|
#undef LIBSSH2_ED25519
|
|
#define LIBSSH2_ED25519 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_AES_CTR
|
|
#undef LIBSSH2_AES_CTR
|
|
#define LIBSSH2_AES_CTR 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_AES_CBC
|
|
#undef LIBSSH2_AES_CBC
|
|
#define LIBSSH2_AES_CBC 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_BLOWFISH
|
|
#undef LIBSSH2_BLOWFISH
|
|
#define LIBSSH2_BLOWFISH 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_RC4
|
|
#undef LIBSSH2_RC4
|
|
#define LIBSSH2_RC4 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_CAST
|
|
#undef LIBSSH2_CAST
|
|
#define LIBSSH2_CAST 0
|
|
#endif
|
|
|
|
#ifdef LIBSSH2_NO_3DES
|
|
#undef LIBSSH2_3DES
|
|
#define LIBSSH2_3DES 0
|
|
#endif
|