CE changes for ENT (#6334)

Approved
This commit is contained in:
Abhishek Manjegowda authored and GitHub committed 2026-01-14 19:58:51 +05:30
1 parent 0b6530b8b6
commit a1718effba
9 files changed
+44 -7

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ func (w *Worker) handleProxy(listenerCfg *listenerutil.ListenerConfig, sessionMa
event.WriteError(ctx, op, err)
}
handlerOpts := []proxyHandlers.Option{proxyHandlers.WithLogger(w.logger)}
handlerOpts := []proxyHandlers.Option{proxyHandlers.WithLogger(w.logger), proxyHandlers.WithRandomReader(w.conf.SecureRandomReader)}
if cb := w.SshKnownHostsCallback.Load(); cb != nil {
handlerOpts = append(handlerOpts, proxyHandlers.WithSshHostKeyCallback(*cb))
}