code: def sudo(self, command, **kwargs):
          
          runner = self.config.runners.remote(self)
          return self._sudo(runner, command, **kwargs)
docs: Execute a shell command, via ``sudo``, on the remote end.
  
          This method is identical to `invoke.context.Context.sudo` in every way,
          except in that -- like `run` -- it honors per-host/per-connection
          configuration overrides in addition to the generic/global ones. Thus,
          for example, per-host sudo passwords may be configured.
  
          .. versionadded:: 2.0