diff --git a/tool/tsh/common/proxy_test.go b/tool/tsh/common/proxy_test.go index fb7f0a1e40603..d9435fc24d414 100644 --- a/tool/tsh/common/proxy_test.go +++ b/tool/tsh/common/proxy_test.go @@ -86,6 +86,7 @@ func TestSSH(t *testing.T) { withRootConfigFunc(func(cfg *servicecfg.Config) { cfg.Version = defaults.TeleportConfigVersionV2 cfg.Auth.NetworkingConfig.SetProxyListenerMode(types.ProxyListenerMode_Multiplex) + cfg.Auth.SessionRecordingConfig.SetMode(types.RecordAtNodeSync) cfg.Proxy.KeyPairs = []servicecfg.KeyPairPath{{ PrivateKey: webKeyPath, Certificate: webCertPath, @@ -94,6 +95,7 @@ func TestSSH(t *testing.T) { withLeafCluster(), withLeafConfigFunc(func(cfg *servicecfg.Config) { cfg.Version = defaults.TeleportConfigVersionV2 + cfg.Auth.SessionRecordingConfig.SetMode(types.RecordAtNodeSync) }), )