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
- openssh-server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
