Getting started
Add your first server, connect, copy files and find your way around Harbor in five minutes.
Getting started
This guide takes about five minutes. You’ll need the address of a server you can log in to with SSH, and its username and password or key.
1. Add a host
Harbor opens on the Hosts page. A host is a saved server.
- Click New host.
- Under Connection, enter a Name (anything you like, such as Web server), the
Host (an address like
203.0.113.10orweb.example.com), the Port (usually22) and the Username. - Under Authentication, choose how you log in:
- SSH key: choose your private key file, for example
~/.ssh/id_ed25519. - Password: type it to save it encrypted, or leave it blank to be asked each time.
- SSH agent: use the keys already loaded in your SSH agent.
- SSH key: choose your private key file, for example
- Optional: under Environment, mark the server Production, Staging, Development or Personal. Production servers get an orange outline and guardrails.
- Click Test connection in the side panel to check the address, host key and login.
- Click Save and connect.
Already have servers in
~/.ssh/config, PuTTY, Termius, WinSCP or MobaXterm? Bring them all in at once from Connectors › Import. See Import from other apps.
2. Trust the server’s host key
The first time you connect, Harbor shows the server’s host key fingerprint. It proves you’re talking to the right server. If you can, compare it with the fingerprint your server administrator gave you, then click Trust and connect. Harbor remembers it and warns you clearly if it ever changes. Read more in Logging in and host keys.
3. Run commands
Your session opens in a new tab. On servers whose shell is bash or zsh it opens in Blocks mode: you type commands in the composer at the bottom and press Enter, and each command appears as a card with its output, exit code and duration. Tab completes commands and paths, and Up and Down recall earlier commands. See Blocks mode.
Prefer a classic terminal? Click Classic in the session header, or make it the default in Settings › Terminal › New sessions open in. A few things to try in either mode:
- Right-click copies selected text, or pastes when nothing is selected.
- Ctrl+Shift+F (macOS ⌘F) finds text in the output.
- Ctrl+Shift+E (macOS ⌘E) splits the tab to open a second terminal on the same server.
- Ctrl+Shift+T (macOS ⌘T) opens a new session, and Ctrl+Shift+K (macOS ⌘K) searches hosts, tabs, snippets and actions.
Harbor uses Ctrl+Shift for its own shortcuts on Windows and Linux, so plain Ctrl keys such as Ctrl+C and Ctrl+W still reach the server.
If the connection drops, Harbor reconnects on its own. Press Enter in a closed tab to reconnect straight away.
4. Copy files
Press Ctrl+Shift+O (macOS ⌘O) to open the files panel beside the terminal, or choose Files on the host’s card for a two-pane file browser. Drag files between your computer and the server. See File transfer.
5. Protect your saved passwords (recommended)
Saved passwords are already encrypted by your operating system. For extra protection, set a master password in Settings › Vault & security. Harbor then locks your secrets when you’re away. See Vault and master password.
Next steps
- Organize hosts into groups and add tags: Hosts.
- Reach private servers through a bastion: Jump hosts.
- Discover servers from your cloud accounts: AWS, Azure, Google Cloud.
- Save commands you use often: Snippets.