Originally posted as a Categorized Question.
In reply to How do I capture shell error messages from a remote host? by jfw2112