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,ftporftpshost,user,port,remote_pathssh_key_file(preferred over a stored password)upload_on_save— upload automatically when you saveignore(globs) andignore_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
sshis 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.