You might not have scp in the default path on the target machine.

A quick hack to fix this is to do 

ln -s /path/to/scp /usr/bin

...on the target machine, and see if that helps.  Better yet, modify the default
path of the target machine to include the location of scp, but how to do that is
platform-specific.

-m

Horng-Twu Lihn wrote:
> 
> Hi,
> I just installed openssh and ssh is working.
> However, scp does not seem to work.
> Please help. Am I missing anything?
> 
> --Steve
> 
> <sm23sc01_root> cd /opt/openssh/bin
> <sm23sc01_root> ./scp -v /tmp/gark sm51gp01:/tmp
> Executing: program /opt/openssh/bin/ssh host sm51gp01, user (unspecified),
> command scp -v -t /tmp
> root@sm51gp01's password:
> ksh: scp:  not found
> lost connection

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks

Reply via email to