problme with scp, and suggestion for fix

John P Speno speno at isc.upenn.edu
Sat Jun 24 08:10:39 EST 2000


On Fri, Jun 23, 2000 at 12:44:15PM -0700, Philip Brown wrote:
> 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 you run configure, you can set the default path using:

./configure --with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

This is what I use, and it works fine for me. YMMV.





More information about the openssh-unix-dev mailing list