SSH
An SSH connection gives you two things for one server: its files in a pane, and a shell on it. Clicking the connection opens your home folder on the server in the active pane. The pane's terminal, or Open in Terminal, gives you a shell there.
Add an SSH connection
- Open Vektor ▸ Settings… (⌘,) and choose SSH under Connections.
- Click Add SSH Connection….
- Fill in the form. The fields are the same as for SFTP:
| Field | What to enter | Example |
|---|---|---|
| Name | The label shown in the sidebar, the path bar and tabs. | Build box |
| Host | The server's name or IP address only. | 192.0.2.10 |
| User | Your user name on the server. Required. | vektor |
| Port | The SSH port. | 22 |
| Authentication | Private key, Password or SSH agent. | |
| Private key file | With Private key: the path of your key. | ~/.ssh/id_ed25519 |
| Password | With Password: stored in the macOS keychain. |
- Click Save. The connection appears under CONNECTIONS in the sidebar.
How each sign-in method works, and how a server's identity is checked, is described on the SFTP page: Choose how to sign in and The server's identity.
Browse the server's files
Click the connection in the sidebar. The active pane lists your home folder on the server, over SFTP. Everything on the SFTP page applies: copying, moving, renaming, New Folder, permanent deletes after confirmation, read-only previews, downloaded copies for opening, Analyze Disk Space, and the limits.
If the server allows a shell but not file transfer, the pane says "This server does not offer file access (SFTP)." with an Open in Terminal button.
Terminal in a server pane
A pane that shows an SSH or SFTP server can switch to Terminal like any pane (⇧⌘T). Its shell runs on the server, not on your Mac, and starts in the folder the pane shows. Switching between files and terminal keeps the same session. For the pane terminal in general, see Pane terminal.

Signing in
The terminal starts ssh to the server. If the server asks for a password or a key's passphrase, type it in the terminal:
Vektor Commander never types it for you, even when a password is saved for the connection. With a key or the SSH agent and no
passphrase, the shell opens straight away.
The shell follows the pane
While the pane shows a line under the terminal, it tells you how the shell and the pane move together:
- "Waiting for the shell’s first prompt." The shell is starting. Nothing is typed into it until its first prompt appears, so a password or host question never receives anything from Vektor Commander.
- "This shell and the pane move together: a cd typed here moves the pane." Both directions work:
- when you go to another folder in the pane, the shell changes to it, but only when it is waiting at a prompt. A command that is still running is never interrupted; the change waits for the next prompt.
- when you type
cdin the shell, the pane's file list goes to the same folder.
- "This shell moves with the pane, but it does not report its folder, so a cd typed here does not move the pane." The pane still moves the shell, but not the other way round.
- "Vektor can’t follow this shell: it never showed a prompt it recognises, so the pane will not move it." No prompt was recognised within about 15 seconds. The terminal works; it just does not follow the pane. If a prompt appears later, following turns on. This happens with shells such as fish or tcsh.
Following works with bash, zsh, sh and dash, and with any folder name, including spaces, quotes and non-Latin letters. Nothing is changed on the server: no file is edited and no setting is added.
The pane never follows a folder it cannot show:
- if you
sshto another computer from that shell, or switch user withsu, the pane stays where it is. A folder reported by another computer shows "The shell reports a folder on “other-host”, not …, so the pane stays where it is." - if the shell is in a folder the file list cannot open, the line says "The shell is in …, which the file list can’t open, so the pane stays where it is."
When the connection drops
If the network drops or the server goes away, the session ends with "The connection to the server ended. This session has
ended.", and ssh's own reason stays visible above it. Click Start New Session to connect again.
Open in Terminal
Right-click the connection in the sidebar and choose Open in Terminal to start a separate session in the
terminal panel. Vektor Commander types the ssh command into a new session for you. If the server
asks for a password, type it there. When you leave the server (for example with exit), you are back at a prompt on your
Mac.
Connected and closed
An SSH connection counts as connected while its files are open in a pane or a terminal session for it is running. The sidebar shows a filled dot.
Close Connection in the connection's menu ends both: panes on the server show "“Build box” is disconnected." with Reconnect, and every terminal session for the connection ends with "This session has ended." Connect or Reconnect opens the files again. See Close a connection.
Docker on the server
If the server runs Docker and your user may use it, a Docker button appears in the toolbar of a pane on that server while containers are running. See Docker containers on a server.
