Troubleshooting and FAQ
Fixes for common connection, login, host key, Blocks mode and cloud problems in Harbor.
Troubleshooting and FAQ
Test connection in the host editor is the quickest way to find a problem: it checks that the server answers, that its host key matches, and that the login is accepted, and says which step failed.
Connecting
“Timed out” or “Connection refused”
- Check the address and port. Try
ssh user@host -p PORTfrom a terminal on the same computer. - A firewall, VPN or security group may block port 22. Cloud servers often need an inbound rule.
- Servers on a private network need a jump host, a VPN, or for AWS, Session Manager or an Instance Connect Endpoint.
“Authentication failed” or “All configured authentication methods failed”
- Check the username. Cloud images use
ubuntu,ec2-user,admin,azureuserand so on. - For keys: make sure the public key is in the server’s
~/.ssh/authorized_keys, and that~/.sshis mode 700 andauthorized_keysmode 600 on the server. - Old DSA keys and RSA keys under 2048 bits are rejected by modern servers. Generate an Ed25519 key in the Keychain.
- For SSH agent logins, check the agent has keys loaded:
ssh-add -l.
“The key is encrypted” / asked for a passphrase every time Save the passphrase in the host editor, or load the key into your SSH agent.
“Host key changed” See When a key changes. If the server was rebuilt and you trust the new key, accept it in the dialog.
Background tunnels, snippet runs or Docker say the host key isn’t trusted Background connections can’t ask you, so connect to the host (and any jump hosts) once in a terminal and trust its key.
A .ppk key doesn’t work
Harbor reads PuTTY format version 2 keys. In PuTTYgen, use Conversions › Export OpenSSH key.
Saved passwords
“Secure OS storage is unavailable” (Linux) No keyring is running. Install and unlock GNOME Keyring or KWallet, or set a master password, which works without one. Until then, leave passwords blank to be asked each time.
I forgot my master password It can’t be recovered. On the unlock screen choose Forgot master password? to reset the vault. Saved secrets are deleted; hosts and settings stay.
Blocks mode
“Blocks unavailable on this host, using Classic.”
Blocks needs bash or zsh as the login shell, and doesn’t run inside tmux sessions. Check the shell
with echo $SHELL. Choose Blocks in the session header to try again.
Prompts look wrong or blocks miss commands with starship or powerlevel10k These prompts redraw themselves on every command. Blocks still work from the composer; switch to Classic if you prefer.
After sudo -i, su or ssh to another server, Blocks stops working
That’s a new shell without Harbor’s integration. Choose Blocks again in the header.
Files
Permission denied when uploading or saving
SFTP works as your login user. Upload to a folder you own and move the file with sudo in the
terminal.
A file I edited didn’t upload Uploads stop when the session closes. Keep the tab open until the editor has saved.
Cloud connectors
AWS: “Needs an MFA code” The scan at startup never asks for MFA. Click Rescan on the account to enter your code.
AWS: SSO account shows “Sign in” The SSO session expired. Click Sign in and finish in the browser.
Azure or Google Cloud: “CLI was not found”
Install the Azure CLI or gcloud and sign in (az login / gcloud auth login), on Windows or in
WSL. Or use a service principal or service account key instead.
No instances found
Check the regions or zones, the tag or label filter, and that the identity has read permissions
(AWS ec2:DescribeInstances, Azure Reader, Google Compute Viewer).
The app
Windows says “Windows protected your PC” or macOS won’t open Harbor See Install Harbor.
Harbor opens and closes immediately when started from a terminal (developers)
The environment variable ELECTRON_RUN_AS_NODE is set, for example by VS Code’s terminal. Start
Harbor from the Start menu, Dock or launcher instead.
Does Harbor send any data to its developers? No. See the privacy notice.
Which plans does Harbor offer? Harbor offers a limited Free plan and a Pro plan. Pro is currently discounted to $9.99 per month (normally $99.99 per month). See plans and pricing.
Still stuck?
Search or open an issue on GitHub. Include the version from Settings › General › Copy version, your OS, and the exact error message. Don’t include passwords, private keys or session logs with sensitive output.