Skip to content

Commit 05c3951

Browse files
mustard-mhroboquat
authored andcommitted
[supervisor] enabled SSH debug log by default
1 parent 75754f8 commit 05c3951

File tree

1 file changed

+1
-4
lines changed
  • components/supervisor/pkg/supervisor

1 file changed

+1
-4
lines changed

components/supervisor/pkg/supervisor/ssh.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ func (s *sshServer) handleConn(ctx context.Context, conn net.Conn) {
100100
"-oUseDNS no", // Disable DNS lookups.
101101
"-oSubsystem sftp internal-sftp",
102102
"-oStrictModes no", // don't care for home directory and file permissions
103-
}
104-
105-
if os.Getenv("SUPERVISOR_DEBUG_ENABLE") != "" {
106-
args = append(args, "-oLogLevel DEBUG")
103+
"-oLogLevel DEBUG", // enabled DEBUG mode by default
107104
}
108105

109106
socketFD, err := conn.(*net.TCPConn).File()

0 commit comments

Comments
 (0)