Bug 722 - scp not found
Summary: scp not found
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 3.7.1p1
Hardware: All Solaris
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 04:51 AEST by Jim Davidson
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Davidson 2003-09-30 04:51:35 AEST
I have just upgraded our test solaris servers (2.6 and 8) from OpenSSH V3.4 to 
OpenSSH V3.7.1 and now find that when I try to use scp to the new 3.7.1 
server,I get error messages   scp not found.The sshd was compiled using the 
same options as the V3.4 one which does not exhibit this behaviour (the only 
option selected being --prefix=<installdir>).I could use a symbolic link to 
say /usr/bin/scp from <installdir>/bin/scp but I would prefer not to do so.
Is this a bug in the 3.7.1 code and if so can someone point me in the right 
direction.
Thanks.
Comment 1 Ben Lindstrom 2003-09-30 04:55:44 AEST
sshd under Solaris now honors /etc/default/login and is enabled by default.  It 
will override anything compiled in.  Are your paths set right to include that 
directory in /etc/default/login?
Comment 2 Jim Davidson 2003-09-30 05:05:18 AEST
I didn't realise that this was now the case.I will add <installdir> to PATH 
in /etc/default/login and see if this fixes it.
Thanks.
Comment 3 Jim Davidson 2003-09-30 23:31:14 AEST
This has fixed my problem.
Is this change documented somewhere ?
Thanks for the info. anyway.
Comment 4 Darren Tucker 2003-09-30 23:42:00 AEST
Once finished, configure will display the following warning:
(If PATH is set in /etc/default/login it will be used instead. If
used, ensure the path to scp is present, otherwise scp will not work.)

The honouring of /etc/default/login was also mentioned in the release notes.
Comment 5 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED