[Bug 1368] New: avoid "scp not found" with option to specify remote scp command

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Sep 24 22:54:01 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1368

           Summary: avoid "scp not found" with option to specify remote scp
                    command
           Product: Portable OpenSSH
           Version: 4.7p1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: David.Leonard at quest.com


Created an attachment (id=1359)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1359)
Add -R option to scp

This is an enhancement request to add -R option to scp. It would
specify the full path to the scp program on the remote host. This can
be useful for testing and for managing large numbers of hosts where scp
isn't installed in a standard location.

I've been running the tests on clean machines without SSH installed.
They fail because the scp tests assumes that the remote scp program
will be found in the PATH. Approaches to fix this (from bugs 42, 72, 82
and the FAQ) involve adding a .ssh/environment or configuring
--with-default-path. The former is OK (needs PermitUserEnvironment set
during testing) and the latter is unacceptable.

Attached is a patch to add -R to scp, along with doc fixes and test
changes.


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list