Fixed execution of scp in clients