[TriLUG] SCP acting funny

bp bp at itchy.kicks-ass.org
Mon Apr 5 08:50:37 EDT 2004


On Sun, 4 Apr 2004, James Manning wrote:

> > Could it be the output from /etc/bashrc is somehow confusing the
> > process?
> 
> Maybe - as a quick sanity check I'd rename the relevant .bashrc /
> .profile files (any of them that get run at ssh/scp time, checking
> access times should help if you're unsure) so they're not run at all
> during scp.
> 

On RedHat 9 I too noticed this horrible behaviour; any output coming from 
bashrc (welcome to host xyz) caused scp to connect and immediately 
disconnect with no file being transfered. Get rid of the output and the 
issue will be fixed.  This was the case on several of my lab boxes 
recently.
-bp




More information about the TriLUG mailing list