code: def ssh(self, vm_name=None, command=None, extra_ssh_args=None):
          '''
          Execute a command via ssh on the vm specified.
          command: The command to execute via ssh.
          extra_ssh_args: Corresponds to '--' option in the vagrant ssh command
          Returns the output of running the command.
          '''
          cmd = ['ssh', vm_name, '--command', command]
          if extra_ssh_args is not None:
              cmd += ['--', extra_ssh_args]
  
          return self._run_vagrant_command(cmdf ssh(self, vm_name=None, command=None, extra_ssh_args=None):
          '''
          Execute a command via ssh on the vm specified.
          command: The command to execute via ssh.
          extra_ssh_args: Corresponds to '--' option in the vagrant ssh command
          Returns the output of running the command.
          '''
          cmd = ['ssh', vm_name, '--command', command]
          if extra_ssh_args is not None:
              cmd += ['--', extra_ssh_args]
  
          return self._run_vagrant_command(cmd)
docs: Execute a command via ssh on the vm specified.
          command: The command to execute via ssh.
          extra_ssh_args: Corresponds to '--' option in the vagrant ssh command
          Returns the output of running the command.