Work on a repository over SSH
Open a repository on a server over SSH, with git and pull requests running there under the server's own logins while the code stays put.
Some repositories live on another machine: a dev box, a build server, a cloud VM. GitLane can open one there over SSH and work on it like a local repository — the graph, diffs, staging, commits, branch operations, conflicts, stashes, worktrees, fetch, pull and push. The code stays on the server; only what you are looking at crosses the connection. Remote repositories are a beta.
Open a repository on a server
On the home screen, choose Open remote repository.
Pick a server. The list shows your saved connections first, then the hosts in your
~/.ssh/config, which work without saving anything.
To add a server, choose Add SSH connection… and fill in a Name (shown in the toolbar), the SSH host (
[email protected], an IP address, or an alias from~/.ssh/config), an SSH port if it isn't 22, and optionally an SSH key — the path of a private key, such as~/.ssh/server_key. With a key set, GitLane uses only that key for this server. Test connection checks it without saving.Answer any question
sshasks. The first time you connect to a server, GitLane shows its key fingerprint and asks whether to trust it, assshwould in a terminal; choose Trust and connect if the fingerprint is right. A password, key passphrase or one-time code is asked in a sign-in dialog and handed to that connection only; GitLane doesn't save it.Browse the server's folders, starting in your home folder. Repositories are marked; click one to open it in a tab. You can also type a path and choose Go.

The repository shows in your recent list as an ssh://[user@]host[:port]/path address, such as ssh://build.example.com/srv/app, and reopens on the same host. All tabs on one host share one SSH connection, which ends when you close the last of them.
Manage saved connections
Open Settings → SSH Connections.
Add, edit or remove a connection, and use Test connection before you save.

GitLane keeps the name, host, user, port and key file path. It never stores a password or the key itself.
What runs where
GitLane connects with your own ssh, so your config, agent, ProxyJump and known hosts all apply. On the server it runs its own small helper, gitlane-agent, from ~/.gitlane-server/. The first time, and after each app update, GitLane downloads the helper for the server's platform, checks its signature against GitLane's release key, and uploads it, showing the progress as it goes. Git commands then run on the server, against the repository there.
That folder is private to your account. GitLane runs the helper only when your account owns both the folder and the file: if something else is in its place, GitLane replaces the file, or tells you which folder to remove on the server (since v2.8.1). If GitLane starts with a remote tab active, it shows Connecting to <server>… or the helper install progress, with a Cancel button.
Terminal in the toolbar opens a shell on the server, in the repository's folder.
Fetch, pull and push
These run on the server, with the server's own credentials. The accounts you added in GitLane don't apply there, and GitLane never sends them, or any token, to the server. For a GitHub HTTPS remote, git on the server uses that server's own gh login.
If the server can't authenticate, the error names the server and says what to do there: sign in, set up a credential helper, switch to an SSH remote URL, or accept the remote's SSH host key. Open terminal opens a shell on the server to do it.
Pull requests
Since v2.7.1, pull requests work for remote repositories whose remote is on GitHub or GitLab. They run on the server as the account its gh or glab is signed in to.
- Check the SSH chip in the toolbar. It names that account, for example GitHub as octocat.
- Open the PRs tab and work as usual — see Pull requests.
- Merging, approving or opening a pull request first says Runs on <server> as <login>, so you know who will act.
If the server isn't signed in, the chip shows Sign in, and the pull-request list shows the exact command to run there, for example gh auth login --hostname github.com. Open terminal opens a shell on the server; run the command, then choose Retry.
Good to know
On a remote repository, fetch, pull, push and pull requests run as the server's own logins, not the accounts you added in GitLane. Your local accounts and tokens are never sent to the server.
- The helper runs on Linux servers, x86_64 or aarch64, with git 2.36 or newer. The server needs no internet access and no administrator rights.
- Pull requests need
gh2.95.0 or newer on the server; GitLane says when it is missing or older. - Bitbucket and Cursor Origin pull requests aren't available on a remote repository, because their sign-in lives on your computer. The PRs tab says why.
- Features that act on your computer are off in a remote tab: editing files (they open read-only), Reveal in Finder, opening with the default application, and AI actions and agent sessions.
- If a server's host key ever changes, GitLane refuses to connect and says so. Find out why before you remove the old entry.
- If the server drops, the tab shows Can't reach <host> with a Reconnect button. Your other tabs keep working.
- To remove the helper, delete
~/.gitlane-serveron the server. GitLane reinstalls it the next time you connect.
Also in the docs: Remote repositories
Shipped in GitLane v2.5.0.
Installers: Download GitLane.