| [etc] SCP gives problems when there are echo statements in .tcshrc |
| HOME |
[Date Prev][Date Next][Date Index]
[etc] SCP gives problems when there are echo statements in .tcshrc
Hi,
I am having this problem since a pas few months..
scp, which comes with openssh does not seem to be working..
I am using the command
scp path_to_src user_name@machine_name:path_to_dest
It either gives me no error, or the following error
write failed flushing stdout buffer
write stdout: Broken pipe..
This is how I solved it..
Since i am using a tcsh, my .tcshrc file contained an echo statement which
was causing all these problems with scp..
I merely commented it and now its working..
So to conclude, if you are using tcsh and want to use ssh, then do not have
any echo or xhost -like statements in .tcshrc, which write to stdout.
Shashank