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

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to