scp problem

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Jul 27 17:06:04 UTC 2009


On Sun, Jul 26, 2009 at 08:00:45AM -0400, bob 295 wrote:
> He's the exact sequence that I tried with this accompanying debug file.
> 
> i) I brought up both Mepis boxes.
> 
> box1 - 192.168.1.101 (as determined by running ifconfig)
> box2 - 192.168.1.103
> 
> The .bashrc on box1 contains a line at the end which says:
> 
> echo "hi bob from box 1"

Don't do that.  It must ONLY generate output for interactive sessions,
otherwise things like rsync, scp, etc all break.  They don't know what
your 'hi bob...' message means, so they fail.

So the .profile would be a place for such stuff, but .bashrc is not.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list