Overhaul to use the external 'scp' and 'ssh' commands ... for reliability