class_docstr: Cluster manager for TensorFlow servers.
docstr: Copy a file to a remote directory.
  
  Args:
      local_path (str): local file path to be copied
      remote_path (str): remote directory path
      hostname (str): host name or address
docstr_tok: ["Copy","a","file","to","a","remote","directory",".","Args",":","local_path","(","str",")",":","local","file","path","to","be","copied","remote_path","(","str",")",":","remote","directory","path","hostname","(","str",")",":","host","name","or","address"]
code: def remote_copy(self, local_path, remote_path, hostname):
      """
      Copy a file to a remote directory.
  
      Args:
          local_path (str): local file path to be copied
          remote_path (str): remote directory path
          hostname (str): host name or address
      """
  
imports: import atexit
  import contextlib
  import json
  import os
  import signal
  import subprocess
  import sys
  import warnings
  from abc import ABCMeta, abstractmethod
  import paramiko
  from autodist.const import DEFAULT_PORT_RANGE, DEFAULT_WORKING_DIR, ENV
  from autodist.resource_spec import ResourceSpec
  from autodist.utils import logging
label_desc: Use image node_id 15 for calling the Cluster obj's underlying member method code with example usage: obj.remote_copy(local_path, remote_path, hostname) without return types