further problems Re: scp not found with solaris 8/2.1.0p2
Richard June
rjune at ims1.imagestream-is.com
Thu May 25 02:23:42 EST 2000
On Wed, 24 May 2000, Tom Bertelson wrote:
>
>
> Richard June wrote:
> >
> > But when you use scp do /etc/environment or ${HOME}/.ssh/environment get
> > read? I wasn't sure, and I haven't had time to play with them enough to
> > know for sure. I'm of the opinion that BIN_PREFIX should find it's way
> > into PATH *always* however that's not always possible, e.g. the user
> > resets PATH in thier initscripts. however that's not OpenSSH's problem.
>
> Yes, they are read. Scp does the equivalent of "ssh remotehost scp -t
> destination". Hard-coding the path in the client doesn't work, since
> each host may have it in a different directory.
>
> I like the BIN_PREFIX idea. This is probably safer than _PATH_STDPATH.
Yeah, I didn't think about that the first time I asked the question, then
I realized that... which lead the the patch to sshd and Makefile... I
don't know about safer as long as you have BIN_PREFIX
*before* _PATH_STDPATH which is what I do.
More information about the openssh-unix-dev
mailing list