SSH and SCP must be in your path on both local and remote hosts or it will
bomb.
-John
On Mon, 26 Feb 2001, Jon Ingason wrote:
> Hi,
>
> I have problem with scp. I get "sh: scp: not found" when I try to
> use scp in some circumstance. I have this problem with version
> 2.3.0p1 and 2.5.1p1 with OpenSSL version 0.9.6 on Solaris 8.
> I have Linux with RH 6.2 and OpenSSH 2.3.0p1 and OpenSSL 0.9.6
> which works OK. What I am doing when this problem occurs is
> following:
>
> On Solaris 8 to Linux RH 6.2:
>
> scp linux-host:file .
> user@linux-host's password:
> file 100%|*************************| 13 00:00
>
> On Linux RH 6.2 to Solaris 8:
>
> scp solaris-host1:file .
> user@solaris-host1's password:
> sh: scp: not found
>
> On Solaris 8 to Solaris 8:
>
> scp solaris-host1:file .
> user@solaris-host1's password:
> sh: scp: not found
>
> I try to search the archive, but did not find anything.
>
> Another problem are the manpage in Solaris 8 for OpenSSH
> and OpenSSL. They are just unformated text mass when you
> try to read then with man command.
>
> Regards
> Jon Ingason