problme with scp, and suggestion for fix

Philip Brown phil at bolthole.com
Sat Jun 24 05:44:15 EST 2000


I recently built openssh 2.1.1p1, under solaris.

I noticed that I had problems running scp. It seems that it could not find
the executable on the remote end.

This was odd, becuase it existed in /usr/local/bin, publically executable,
and /usr/local/bin/was in the users' normal PATH (exported, even).

So finally, I twiddled the source to make it call /usr/local/bin/scp,
instead of just "scp".

When I ran a strings on scp, it seems you have done a semi=similar hardcode
of the path to ssh. /usr/local/bin/ssh turns up as a string in scp.
So please do the same thing for the full path to scp, as well.






More information about the openssh-unix-dev mailing list