支持直接使用密码部署并自动复用本机登录信息 #137
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/WuYongJie-deploy-first-login"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
部署脚本不再要求私钥,默认连接正式服务器。支持传入 SecureString 密码或首次本机密码窗口,使用当前 Windows 用户绑定的 DPAPI 加密持久保存,后续自动使用;SSH、SFTP 上传和 Registry 后台隧道统一支持密码认证,保留可选私钥方式。不会自动生成密钥或修改服务器 SSH 配置。
验证:Windows OpenSSH 对本机隔离 SSH 服务实测密码认证、持久复用、SFTP、后台转发、中文特殊字符、错误密码拒绝全部通过;现生产密钥只读连接通过;原有部署测试 3 项 14 断言通过,PowerShell 语法及 diff 检查通过。仅开发机部署工具与文档变更,无金额、业务权限或数据库改动,未执行生产应用发布。