• Applicable Software: General
  • Min Version Number: 00.01.00
  • Max Version Number: Not Applicable

Configuration

Create a remote-sync-config.json at your project root (a sample ships with the Moko templates). It is parsed as JSONC, so you can keep comments:

  • type — sftp, scp, ftp or ftps
  • host, user, port, remote_path
  • ssh_key_file (preferred over a stored password)
  • upload_on_save — upload automatically when you save
  • ignore (globs) and ignore_regexes (regex) — exclude files/folders, including secret-shaped paths

Commands (MokoDeploy ▸)

  • Upload File / Upload Folder, Diff with Remote, Open SSH Session.
  • Diagnose — reports the resolved config, target, key/password presence, ignore-rule counts and whether ssh is on your PATH.

A status-bar item shows the active file's remote target (user@host) and opens Diagnose on click. Part of the Moko VS Code suite.