sshd closes the pipe for STDERR
Issue
In executing a shell(shell1.sh) by ssh command, when shell1.sh finished, sshd closed pipe for the standard error of another shell(shell2.sh) invoked in the background by shell1.sh even if shell2.sh was still being executed.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- openssh-server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.