did you compile openssh with --with-default-path=$PATH:/opt/openssh/bin
or something similar?

On Wed, Dec 06, 2000 at 03:02:24PM -0500, Horng-Twu Lihn wrote:
> 
> 
> Paul,
> Ya, I found some references in the archive about this issue.
> Need to set up default-path during compilation or have to symlink scp to /bin
> It is not well documented in the case that openssh is installed in a different
> path.
> Unfortunately /opt/openssh is a prefered porting path on HP-UX.
> 
> --Steve
> 
> 
> 
> 
> 
> Paul Newhouse <[EMAIL PROTECTED]> on 12/06/2000 01:25:35 PM
> 
> To:   [EMAIL PROTECTED], [EMAIL PROTECTED]
> cc:    (bcc: Horng-Twu Lihn/Telcordia)
> Subject:  Re: need help on scp
> 
> 
> 
> 
> >    I just installed openssh and ssh is working.
> >    However, scp does not seem to work.
> >    Please help. Am I missing anything?
> >
> >    <sm23sc01_root> cd /opt/openssh/bin
> >    <sm23sc01_root> ./scp -v /tmp/gark sm51gp01:/tmp
> >    Executing: program /opt/openssh/bin/ssh host sm51gp01, user (unspecified),
> >    command scp -v -t /tmp
> >    root@sm51gp01's password:
> >    ksh: scp:  not found
> 
> Looks like scp is not in root's PATH on sm51gp01.
> 
> Paul
> 
> 
> >    lost connection
> 
> 
> 
> 

Reply via email to