further problems Re: scp not found with solaris 8/2.1.0p2

carl at bl.echidna.id.au carl at bl.echidna.id.au
Wed May 24 09:51:26 EST 2000



Thanks to Richard June, John Horne and Bosko Radivojevic, who 
pointed out that I probably need to set the configure-time option
--with-default-path, so I did this (rather than make symlink
messes, which I'd prefer to avoid) :

1489  ./configure --with-default-path=/bin:/usr/bin:/opt/local/bin --prefix=/opt/local --with-random=/dev/random
  1490  make
  1491  make install
  1492  pkill -TERM sshd
  1493  ps -ef | grep sshd
  1494  /opt/local/sbin/sshd

teste ssh .. worked fine

tested scp :

{1503} : scp hosts localhost:/tmp/.
root at localhost's password: 
sh: scp: not found
lost connection

It's the right scp, and the right sshd :

-rwsr-xr-x   1 root     other     745728 May 24 09:32 /opt/local/bin/ssh
-rwxr-xr-x   1 root     other      22232 May 24 09:32 /opt/local/bin/scp
-rwxr-xr-x   1 root     other     695372 May 24 09:32 /opt/local/sbin/sshd

I compiled them all at 9.30am, so they're the right ones.

Here's some info about the box :

SunOS fwljump02 5.8 Generic sun4m sparc SUNW,SPARCstation-5

Any ideas?  I don't want to lodge a bug report if it's just something
dumb I'm missing :)

It's got to be the path somehow, despite having /opt/local/bin in the 
config path, it can't find anything in there.  I can symlink 
to /usr/bin and things work, but that's not what I want to have to 
do.

thanks again

Carl






More information about the openssh-unix-dev mailing list