Connections

SFTP

Connect to a server over SFTP, browse its files in a pane, copy and manage files, and fix connections that do not open.

An SFTP connection opens a server's files in a pane, starting in your home folder on the server. You browse, copy, rename and delete there as in a folder on your Mac. Vektor Commander uses the ssh program that comes with macOS, so your keys, your SSH agent and the servers you already trust work as they do in Terminal.

SFTP and SSH connections hold the same details. The difference is what you expect: choose SSH for a server where you also want a shell, SFTP for a server that offers file transfer only.

Add an SFTP connection

  1. Open Vektor ▸ Settings… (⌘,) and choose SFTP under Connections.
  2. Click Add SFTP Connection….
  3. Fill in the form (see the table below).
  4. Click Save. The connection appears under CONNECTIONS in the sidebar.
FieldWhat to enterExample
NameThe label shown in the sidebar, the path bar and tabs.orbit-staging
HostThe server's name or IP address only, without sftp:// or a path.sftp.example.com or 192.0.2.10
UserYour user name on the server. Required.vektor
PortThe SSH port, 22 unless your server uses another.22
AuthenticationPrivate key, Password or SSH agent.
Private key fileWith Private key: the path of your key.~/.ssh/id_ed25519
PasswordWith Password: your password on the server. Stored in the macOS keychain.

If the key file is not there when you save, the form says "That file isn't there right now. It can still be saved." This is useful when the key lives on a drive you connect later.

Choose how to sign in

  • Private key: Vektor Commander passes your key file to ssh. The key is never copied.
  • Password: the password is kept in the macOS keychain. It is given to the server only when the server asks for a password, and never written to a file or shown. When you edit the connection, leave the field empty to keep the stored password, or click Remove under it to delete it.
  • SSH agent: the keys loaded in your SSH agent are used. "Keys are taken from the SSH agent; Vektor stores none."
Vektor Commander cannot type a key's passphrase for you when it opens files. If your key has a passphrase, load it into the SSH agent first (for example with ssh-add in Terminal) and choose SSH agent.

The server's identity

The first time you connect to a server, its identity (host key) is recorded in your ~/.ssh/known_hosts, as ssh does, and the connection goes ahead without a question. If a server's identity later changes, Vektor Commander refuses to connect and sends it nothing, not even your password. See When something goes wrong.

Test the connection

Click Test next to the saved connection. Server reachable means the server answered on its port. Your user name, password or key are checked when you open the connection.

Open a server

Click the connection under CONNECTIONS in the sidebar. The active pane shows your home folder on the server. The other pane does not change. Right-click the connection for Open in New Tab and Open in New Pane.

The orbit-staging server's project folder listed in the left pane, its path bar starting at the connection's name.
The orbit-staging server's project folder listed in the left pane, its path bar starting at the connection's name.
  • The path bar starts with the connection's name, for example orbit-staging › var › www.
  • Navigation, sorting, list and grid view, selection, history and tabs work as on your Mac. Going up stops at the server's top folder.
  • Names appear exactly as they are on the server, including spaces, quotes and non-Latin letters. Names with line breaks or control characters are shown escaped; they are never changed on the server.
  • A link to a folder opens the folder; a link to a file acts on the file. A broken link is shown but cannot be opened.
  • Folders whose names start with a dot are hidden when hidden files are off.
  • Two panes or tabs on the same server share one session.

The sidebar row shows a filled dot while the connection is open. To end it, right-click the connection and choose Close Connection. See Close a connection.

See changes made elsewhere

A server folder is listed when you open it and after your own changes. To see changes made by someone else, choose View ▸ Refresh (⌘R). The pane's footer shows when the list was loaded.

Copy files to and from the server

Copy between the server and a folder on your Mac in either direction with F5, drag and drop between the panes, ⌘C and ⌘V, or by dragging files from Finder into the server pane. You can also drag files from the server pane to Finder; they are downloaded where you drop them.

A click on the orbit-staging connection lists the server's project folder, the releases folder opens, and F5 copies the latest release down to Downloads.
  • Folders are copied with everything inside them.
  • Progress, Cancel and the question about existing names (replace, keep both, skip) work as for local copies.
  • Nothing half-copied is left under the final name if a copy fails or you cancel it.
  • A move (F6) between the server and your Mac removes the original only after the copy has arrived complete, checked by its size.
  • A move within the same server is a rename on the server, so it is quick even for large folders.

Copying directly from one server to another, or between a server and S3, is not available. Vektor Commander tells you so; copy to a folder on this Mac first, then on to the other place.

Manage files on the server

  • New folder: F7.
  • Rename: F2 or Edit ▸ Rename….
  • Analyze Disk Space (in the File menu): adds up the sizes from the server's folder listings. Nothing is downloaded.

If you do not have permission for something on the server, a message names the item, for example "You don’t have permission for “deploy.log” on “orbit-staging”." Nothing else changes.

Delete on the server

A server has no Trash. Deleting with F8, ⌘⌫, Edit ▸ Delete… or the context menu always asks: "Delete “old-builds” permanently?" Folders are deleted with everything in them, and only after you click Delete Permanently.

Deleting on an SFTP server is permanent and cannot be undone.

Look at and open server files

  • Preview (F3): the file is downloaded into a private cache, never next to your files, and removed when the preview closes. Previews of server files are read-only.
  • Open (↩) or Edit (F4): opens a downloaded copy in its usual app. "Opened a copy — changes to it are not uploaded back." To change the file on the server, copy the edited file back into the server pane.
  • Convert, Share… and AirDrop… work from a downloaded copy. Converted files are uploaded into the server folder.
  • In grid view, server files show icons, not thumbnails.

A terminal on the server

A pane showing an SFTP server can switch to its terminal (⇧⌘T). The shell runs on the server, in the folder the pane shows, and follows the pane as you navigate. It works the same way as for an SSH connection: see Terminal in a server pane.

To open a separate session instead, right-click the connection in the sidebar and choose Open in Terminal. It starts ssh to the server in a new session of the terminal panel. Close Connection ends that session too.

What SFTP cannot do

  • No Trash: every delete is permanent.
  • No Compress, no Multi Rename, no Add to Favorites, no Synchronize Directories and no Git Review.
  • Previews are read-only.
  • The pane's find field filters names in the current folder only.
  • The folder list does not update on its own (use View ▸ Refresh).

When something goes wrong

The pane shows the explanation in place of the files, with Try Again and Connection Settings….

Message (starts with)What to do
"“orbit-staging” could not be reached."Check the host and port in Settings, and that you are online. The server may be down or a firewall may block the port.
"“orbit-staging” did not accept the login."Check the user, the authentication method and the password or key. For a key with a passphrase, load it into the SSH agent.
"The identity of “orbit-staging” has changed since Vektor last connected, so nothing was sent to it."If the server was reinstalled, remove its old entry from ~/.ssh/known_hosts (for example with ssh-keygen -R sftp.example.com). Otherwise ask the server's administrator before you connect again.
"“orbit-staging” sent text that isn’t file-transfer data."A login script on the server prints text (for example a welcome message in .bashrc). Make it print only in interactive shells.
"This server does not offer file access (SFTP)."The server allows a shell but no file transfer. Click Open in Terminal to use the shell.
"The connection to “orbit-staging” was lost."The network dropped or the server stopped answering, and the automatic retry failed. Click Reconnect when it is back.
"“orbit-staging” is disconnected."You closed the connection. Click Reconnect.

If you delete a connection while a pane shows it, after a relaunch that pane opens your Home folder and tells you why.

© 2026 Vektor Commander