Jon Ingason wrote:

> I have problem with scp. I get "sh: scp: not found" when I try to
> use scp in some circumstance.

This is probably an issue with your default $PATH on the remote
machine.  I run into this whenever I install ssh under /usr/local on
machines (usually Solaris boxen) where /usr/local/bin isn't in the
$PATH.

I never did figure out how to fix it the right way on Solaris, since
apparently changes to $PATH in users' shell initialization scripts
aren't picked up by ssh under Solaris, so I cheat by doing an "ln -s
/usr/local/bin/scp /usr/bin/scp", and this seems to fix the problem.

*shrug*

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation

Reply via email to