diff --git a/pkg/hostagent/hostagent.go b/pkg/hostagent/hostagent.go index c0452c8ba72..908c8c6ac61 100644 --- a/pkg/hostagent/hostagent.go +++ b/pkg/hostagent/hostagent.go @@ -758,6 +758,7 @@ func forwardSSH(ctx context.Context, sshConfig *ssh.SSHConfig, port int, local, } } cmd := exec.CommandContext(ctx, sshConfig.Binary(), args...) + logrus.Debugf("Running %q", cmd) if out, err := cmd.Output(); err != nil { if verb == verbForward && strings.HasPrefix(local, "/") { if reverse {