docs: def rpyc(self):
          """ RPyC lazy property """
          if not self.disable_rpyc:
              try:
                  import rpyc
  
                  devnull_fd = open("/dev/null", "w")
                  rpyc_dirname = os.path.dirname(rpyc.__file__)
                  rnd_id = ''.join(random.choice(string.ascii_lowercase) for x in range(10))
                  pid_filename = "/tmp/%s.pid" % rnd_id
                  pid_dest_filename = "/tmp/%s%s.pid" % (rnd_id, rnd_id)
                  rnd_filename = "/tmp/" + rnd_id + ".tar.gz"
                  rnd_dest_filename = "/tmp/" + rnd_id + rnd_id + ".tar.gz"
                  subprocess.check_call(["tar", "-cz", "--exclude", "*.pyc", "--exclude", "*.pyo", "--transform",
                                         "s,%s,%s," % (rpyc_dirname[1:][:-5], rnd_id), rpyc_dirname, "-f", rnd_filename],
                                        stdout=devnull_fd, stderr=devnull_fd)
                  devnull_fd.close()
  
                  self.sftp.put(rnd_filename, rnd_dest_filename)
                  os.remove(rnd_filename)
                  self.recv_exit_status("tar -zxvf %s -C /tmp" % rnd_dest_filename, 10)
  
                  server_script = r"""
  import os
  print os.environ
  from rpyc.utils.server import ThreadedServer
  from rpyc import SlaveService
  import sys
  t = ThreadedServer(SlaveService, hostname = 'localhost', port = 0, reuse_addr = True)
  fd = open('""" + pid_filename + r"""', 'w')
  fd.write(str(t.port))
  fd.close()
  t.start()
  """
                  command = "echo \"%s\" | PYTHONPATH=\"/tmp/%s\" python " % (server_script, rnd_id)
                  self.stdin_rpyc, self.stdout_rpyc, self.stderr_rpyc = self.exec_command(command, get_pty=True)
                  self.recv_exit_status("while [ ! -f %s ]; do sleep 1; done" % (pid_filename), 10)
                  self.sftp.get(pid_filename, pid_dest_filename)
                  pid_fd = open(pid_dest_filename, 'r')
                  port = int(pid_fd.read())
                  pid_fd.close()
                  os.remove(pid_dest_filename)
  
                  return rpyc.classic.ssh_connect(self.pbm, port)
  
              except Exception as err:
                  self.logger.debug("Failed to setup rpyc: %s" % err)
                  return None
          else:
              return None