scp problem

bob 295 icanprogram-sKcZck+fQKg at
Sat Jul 25 12:41:32 UTC 2009

I've been trying to chase down why SCP has suddenly refused to work between my 
two MEPIS Linux boxes here.

I can ssh from either direction.

When I try something like

scp myfile

it prompts me for the password and then echos the line I put at the bottom of 
my .bashrc on the remote box ( and returns without any copy 

echo $?

returns a 1 which I believe is an error.

If I repeat the command with the -v option I can't see any obvious error,   
just that no copy actually happens.    In fact with the -v option on the last 
debug line says return code 0 ... which appears to contradict $?.    The 
debug stuff says that the command it is sending is "scp -v -t /tmp" ... that 
also looks curious to me.

Thanks in advance for your help.

The Toronto Linux Users Group.      Meetings:
TLUG requests: Linux topics, No HTML, wrap text below 80 columns

More information about the Legacy mailing list