diff --git a/build-system/Make/RemoteBuild.py b/build-system/Make/RemoteBuild.py index 1603979974..f82b89acce 100644 --- a/build-system/Make/RemoteBuild.py +++ b/build-system/Make/RemoteBuild.py @@ -25,7 +25,7 @@ def import_module_from_file(module_name, file_path): def session_scp_upload(session, source_path, destination_path): - scp_command = 'scp -i {privateKeyPath} -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -pr {source_path} containerhost@"{ipAddress}":{destination_path}'.format( + scp_command = 'scp -i {privateKeyPath} -o BatchMode=yes -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -pr {source_path} containerhost@"{ipAddress}":{destination_path}'.format( privateKeyPath=session.private_key_path, ipAddress=session.ip_address, source_path=shlex.quote(source_path),