Solaris 2.6 problem
Rachit Siamwalla
rachit at ensim.com
Tue Jan 23 09:34:30 EST 2001
perhaps ./configure should pick that up automatically for SunOS. So many
people have asked that question and probably countless more (including
me) have had the problem and searched the archives for a solution (or
did the ugly ln -s solution).
I don't know too much about configure or i would submit a patch myself.
-rchit
mouring at etoh.eviladmin.org wrote:
>
> Have you tried recompiling with --with-default-path= and ensure that
> /usr/local/bin is within that path?
>
> On Mon, 22 Jan 2001, Sherrod, Andrew wrote:
>
> > I was building OpenSSH on a Solaris 2.6 machine and found a small problem
> > using scp after it was built.
> >
> > The scp command coming from a remote machine to the OpenSSH machine results
> > in an error message of "sh: scp: not found". The start-up script for sshd
> > sets PATH to include /usr/local/bin where scp resides. I also tried adding
> > an "export PATH" in case that was the problem, but the error persisted.
> >
> > I also added /usr/local/bin to the PATH in the .login for root. I also did
> > the same for each individual user.
> >
> > I could solve the problem by linking /usr/local/bin/scp to /usr/bin/scp, but
> > this seems a fairly ugly solution.
> >
> > Do you have any idea why the PATH variable is not picked up sshd (either
> > from root's PATh or the target user's PATH)?
> >
> > Thanks for any input.
> >
> > Andrew Sherrod
> >
More information about the openssh-unix-dev
mailing list