Red Hat Bugzilla – Bug 180275
scp fails with no error message when the target machine calls stdout
Last modified: 2007-11-30 17:07:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. scp from RHE3 to RHE3, with an echo in the .bashrc
Actual Results: scp returns, no error message, the file has failed to be copied.
Expected Results: The file should have been copied
*** Bug 180276 has been marked as a duplicate of this bug. ***
This is limitation of the scp protocol which can't be easily overcomed. Use sftp
or setup server to not echo anything in .bashrc.