Skip to content

Commit ee384a2

Browse files
committed
fix: Set ssh session stderr to stderr
1 parent ca14871 commit ee384a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func ssh() *cobra.Command {
236236

237237
sshSession.Stdin = cmd.InOrStdin()
238238
sshSession.Stdout = cmd.OutOrStdout()
239-
sshSession.Stderr = cmd.OutOrStdout()
239+
sshSession.Stderr = cmd.ErrOrStderr()
240240

241241
err = sshSession.Shell()
242242
if err != nil {

0 commit comments

Comments
 (0)