docs: def remote_ssh(self, host):
          """ Execute a command on SSH. Takes a paramiko host dict """
          logger.info('Starting remote execution of task {0} on host {1}'.format(self.name, host['hostname']))
          try:
              self.remote_client = paramiko.SSHClient()
              self.remote_client.load_system_host_keys()
              self.remote_client.set_missing_host_key_policy(
                  paramiko.AutoAddPolicy())
              self.remote_client.connect(host['hostname'], username=host['user'],
                                         key_filename=host['identityfile'][0],
                                         timeout=82800)
              transport = self.remote_client.get_transport()
              transport.set_keepalive(10)
  
              self.remote_channel = transport.open_session()
              self.remote_channel.get_pty()
              self.remote_channel.exec_command(self.command)
          except Exception as e:
              logger.warn('Exception encountered in remote task execution')
              self.remote_failure = True
              self.stderr += 'Exception when trying to SSH related to: '
              self.stderr += '{0}: {1}\n"'.format(type(e).__name__, str(e))
              self.stderr += 'Was looking for host "{0}"\n'.format(str(host))
              self.stderr += 'Found in config:\n'
              self.stderr += 'host: "{0}"\n'.format(str(host))
              self.stderr += 'hostname: "{0}"\n'.format(str(host.get('hostname')))
              self.stderr += 'user: "{0}"\n'.format(str(host.get('user')))
              self.stderr += 'identityfile: "{0}"\n'.format(str(host.get('identityfile')))
              self.remote_client.close()