Created attachment 1359 [details] 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.