收紧SSH密码认证并明确证书私钥边界
移除 SSH 密钥登录相关生产提示与入口,强制服务器连接使用密码认证,明确 HTTPS 证书私钥仅用于 TLS 部署,并更新安全复审记录。
This commit is contained in:
1 parent
266eea723c
commit
81b84acadb
10 files changed
+45
-8
No files matched your search
@@ -10,5 +10,5 @@ import (
|
||||
func (s *Server) connectSSHAfterReload(ctx context.Context, item deployment.Server) (deployment.Client, error) {
|
||||
_ = ctx
|
||||
_ = item
|
||||
return nil, errors.New("服务器仅支持 SSH 密码认证,已禁用 SSH 密钥登录")
|
||||
return nil, errors.New("服务器连接仅支持 SSH 密码认证")
|
||||
}
|
||||
Reference in new issue
Block a user