HARBOR USER GUIDE

Your data, backups and uninstalling

Where Harbor keeps your hosts, settings and history, how to back them up or move them, and how to delete everything.

Your data, backups and uninstalling

Everything Harbor saves is on your computer. There’s no account and no cloud sync.

Where it’s stored

Harbor’s data folder (Settings › General › Data folder › Open folder):

System Folder
Windows %APPDATA%\Harbor
macOS ~/Library/Application Support/Harbor
Linux ~/.config/Harbor
File Contents Kept
harbor.json Hosts (with their last server info), snippets, settings, keychain entries, cloud accounts, trusted host keys, and encrypted secrets. Until you delete them
logs.json Connection history: times, host, result, and your local user and computer name. The latest 2,000 sessions
history.json Commands run from the Blocks composer, with secrets masked. The latest 500 per host
workspace.json The tabs to reopen next time. Until the next start
edit/ Local copies of remote files you opened for editing. Deleted when Harbor starts

Elsewhere:

  • Session logs you turn on go to Documents/Harbor Logs/ (or wherever you choose).
  • SSH keys you generate go where you choose, ~/.ssh by default.
  • AWS SSO sign-ins are saved in ~/.aws/sso/cache, shared with the AWS CLI.

Files are created readable only by your user account.

Clear history

  • Connection history: Sessions page › Clear history.
  • Command history: Settings › Vault & security › Clear command history.
  • Saved secrets: edit a host and choose Forget the saved password, or reset the vault.

Back up and move to another computer

  1. Quit Harbor.
  2. Copy the data folder.
  3. On the other computer, install Harbor, quit it, and put the folder in the same place.

Saved secrets in the copy are encrypted. What happens to them on the new computer depends on how they’re protected:

  • With a master password, they move with the folder. Unlock with the same master password.
  • With OS keystore encryption only, they’re tied to your account on the old computer and can’t be decrypted elsewhere. Harbor asks for those passwords again when you connect. To move secrets too, set a master password before copying.

Your trusted host keys, hosts, snippets and settings move either way. Private key files aren’t in the data folder; copy your ~/.ssh keys separately and securely.

Delete everything

Uninstalling Harbor keeps its data, so a reinstall picks up where you left off. To remove it all:

  1. Quit Harbor and uninstall it (how).
  2. Delete the data folder listed above.
  3. Optionally delete Documents/Harbor Logs/ and any keys you generated.

On Windows, secrets protected by the OS keystore become unreadable once the data folder is gone. On macOS, you can also remove Harbor Safe Storage from Keychain Access; on Linux, Harbor entries from your keyring (for example with Seahorse).