Repository navigation
修复 SSH 设备连接、发现与安全校验 - #207
Merged
Merged
Conversation
Assisted-by: Codex/GPT-6
Assisted-by: Codex/GPT-6
Assisted-by: Codex/GPT-6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与行为
SSH 设备在首次信任、认证、服务发现和断线恢复时容易产生误导状态;同时本机转发端口和远端 loopback 服务缺少充分的连接身份校验。此改动让用户可以保存并检测设备、明确查看单项失败和重试连接,并确保发送凭据前验证目标服务。
验证
/Users/lvziw/.build/Lagoon/ssh-fixes-check-6lGxJtCs):ANDROID_HOME=/Users/lvziw/Android/Sdk GRADLE_USER_HOME=/Users/lvziw/.build/gradle-home BUILD_SCRATCH_ROOT=/Users/lvziw/.build ./gradlew --offline --no-daemon :app:testDebugUnitTest通过;1,795 项,22 项按条件跳过。git diff --cached --check通过;gitleaks git --log-opts='origin/main..HEAD' --redact=100 --no-banner --no-color扫描全部 3 个提交,未发现泄漏。新增 Apache SSHD 测试 JAR 与 Maven Central 的 SHA-256 一致。./gradlew :app:testDebugUnitTest :app:assembleDebug,以及固定上游 Host 连接器验证。:hub:test已尝试,但当前基线settings.gradle.kts只有:app,不存在hub/、web/模块,Gradle 报project hub not found;无法执行对应验证。已知限制
lsof和进程信息访问权限。