Specify the CTest SCPCommand setting in a ctest3(1) dashboard client script.
SCPCommand
ctest3(1)
CTEST_RUN_CURRENT_SCRIPT
CTEST_SITE