code: def _prep_ssh(
              self,
              tgt,
              fun,
              arg=(),
              timeout=None,
              tgt_type='glob',
              kwarg=None,
              **kwargs):
          '''
          Prepare the arguments
          '''
          opts = copy.deepcopy(self.opts)
          opts.update(kwargs)
          if timeout:
              opts['timeout'] = timeout
          arg = salt.utils.args.condition_input(arg, kwarg)
          opts['argv'] = [fun] + arg
          opts['selected_target_option'] = tgt_type
          opts['tgt'] = tgt
          opts['arg'] = arg
          return salt.client.ssh.SSH(optsf _prep_ssh(
              self,
              tgt,
              fun,
              arg=(),
              timeout=None,
              tgt_type='glob',
              kwarg=None,
              **kwargs):
          '''
          Prepare the arguments
          '''
          opts = copy.deepcopy(self.opts)
          opts.update(kwargs)
          if timeout:
              opts['timeout'] = timeout
          arg = salt.utils.args.condition_input(arg, kwarg)
          opts['argv'] = [fun] + arg
          opts['selected_target_option'] = tgt_type
          opts['tgt'] = tgt
          opts['arg'] = arg
          return salt.client.ssh.SSH(opts)
docs: Prepare the arguments