Skip to content
Back to search

Detour

Open-source SSH client for teams. Hosts, keys and passwords are shared through your own Git repository or folder, end-to-end encrypted. No server, no accounts.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked yesterday
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/inotsleep--detour/badge.svg)](/listings/inotsleep--detour)

HTML

<a href="/listings/inotsleep--detour"><img src="/api/listings/inotsleep--detour/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Installers for macOS, Windows and Linux are on the [Releases](https://github.com/INotSleep/Detour/releases/latest) page. Detour updates itself from there. They put the `detour` command line on your `PATH` too; for servers without a desktop, the release has it alone (`detour-cli-<version>-<system>`).

For iPhone and iPad, get [Detour SSH](https://apps.apple.com/app/id6836001774) from the App Store.

The interface is in English and Russian.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 125 lines · 1 finding marked
  1. <div align="center">
  2. <img src="public/logo.svg" width="96" alt="Detour logo">
  3. # Detour
  4. **An SSH client for teams, with no server in the middle.**
  5. Hosts, keys and passwords are shared through a Git repository or a folder you already have,<br>
  6. encrypted end to end and signed on every change.
  7. [![CI](https://github.com/INotSleep/Detour/actions/workflows/ci.yml/badge.svg)](https://github.com/INotSleep/Detour/actions/workflows/ci.yml)
  8. [![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL--3.0-6e9bff)](LICENSE)
  9. ![macOS | Windows | Linux | iOS](https://img.shields.io/badge/macOS%20%7C%20Windows%20%7C%20Linux%20%7C%20iOS-3ecf8e)
  10. [**Download**](https://github.com/INotSleep/Detour/releases/latest) · [Website](https://detourssh.com) · [App Store](https://apps.apple.com/app/id6836001774) · [Docs](https://inotsleep.com/projects/detour/wiki) · [Discussions](https://github.com/INotSleep/Detour/discussions) · [Security design](docs/teams.md) · [Build from source](#build-from-source)
  11. <img src="docs/images/demo.gif" alt="Importing a key, adding a host, connecting, splitting the terminal and browsing files" width="100%">
  12. </div>
  13. ## Features
  14. - **Terminal.** Tabs, split panes, search, themes. Output that comes without colours gets them: the prompt, paths, addresses, sizes and status words. Copy and paste like your system terminal, or like Termius.
  15. - **SFTP.** Files and whole folders with progress and cancel, permissions, a terminal in the current folder. A failed transfer never leaves a half-written file.
  16. - **Tunnels.** Local (`-L`), remote (`-R`) and SOCKS (`-D`) forwarding.
  17. - **Proxies.** Chains of jump hosts (`-J`), and saved proxies hosts go through: SOCKS5, HTTP, WireGuard (only for Detour, no system VPN) and VLESS over TCP or XHTTP with TLS, REALITY and Vision. From a `vless://` link or a `.conf` file.
  18. - **Import.** `~/.ssh/config` with `Include`, patterns and `ProxyJump`, keys and `known_hosts`.
  19. - **All your devices.** Your vault syncs between them. A new device joins with a one-time code.
  20. - **iPhone and iPad.** [Detour SSH](https://apps.apple.com/app/id6836001774) on the App Store: the terminal with a key bar of your own, files over SFTP, keys, snippets, Face ID, sync and teams.
  21. - **Teams.** Access per host, key and snippet, per person.
  22. - **Command line.** `detour` does everything the app does, in a terminal and on servers without a desktop. [More](https://inotsleep.com/projects/detour/wiki/command-line/cli)
  23. - **AI agents.** Claude Code, Codex, Cursor and others work on your servers over MCP, only where and for as long as you allow, without ever seeing a password or key. [More](https://inotsleep.com/projects/detour/wiki/command-line/agents)
  24. <p>
  25. <img src="docs/images/hosts.png" alt="Hosts" width="49%">
  26. <img src="docs/images/access.png" alt="Team access per host and person" width="49%">
  27. </p>
  28. ## Security
  29. Detour treats the storage, the network and every other member's computer as hostile. There is no Detour server to trust or to breach.
  30. | If | Then |
  31. |---|---|
  32. | your Git host or shared folder leaks | the attacker gets ciphertext. Names, addresses, logins, members and who can see what are encrypted. |
  33. | the storage alters, reorders, hides or rolls back changes others have seen | every member's Detour detects it and says so. |
  34. | a teammate's copy of Detour is modified | it still holds only the keys that teammate was given. Access is enforced by encryption, not by the app. |
  35. | someone is removed from a team | the rest of the team moves to new keys. Nothing written afterwards is readable to them. |
  36. | your laptop is stolen | the vault is sealed with your master password and locks itself when idle. |
  37. | a server's host key changes | the connection stops before any password or key is sent. |
  38. | a Detour ID is swapped on its way to an admin | the fingerprints you compare don't match. |
  39. | someone publishes a fake update | the app refuses it: updates must carry the project's signature. |
  40. | an AI agent goes further than asked | it reaches only the hosts and rights you allowed, for the time you chose, never sees a password or key, and can't accept a new server key. |
  41. **Built on** [age](https://age-encryption.org) (X25519, scrypt), ChaCha20-Poly1305, Ed25519 signatures and per-device hash chains, [russh](https://github.com/Eugeny/russh) and [rustls](https://github.com/rustls/rustls). No accounts, no telemetry.
  42. The full design, including what cryptography can't protect against: [docs/teams.md](docs/teams.md).
  43. ## Teams
  44. 1. Create a team in a Git repository (any SSH or HTTPS remote) or in a shared folder (Syncthing, Dropbox, OneDrive, SMB).
  45. 2. Add a teammate by the Detour ID they send you, and pick what they can see.
  46. 3. They open the same repository or folder.
  47. ## Install
  48. Installers for macOS, Windows and Linux are on the [Releases](https://github.com/INotSleep/Detour/releases/latest) page. Detour updates itself from there. They put the `detour` command line on your `PATH` too; for servers without a desktop, the release has it alone (`detour-cli-<version>-<system>`).
    • Dismissed after review: Contains a <system> block, a common wrapper for instructions hidden in a tool description
    • Line 68 on GitHub
  49. For iPhone and iPad, get [Detour SSH](https://apps.apple.com/app/id6836001774) from the App Store.
  50. The interface is in English and Russian.
  51. ## Privacy
  52. Detour sends nothing to anyone except the servers, repositories and folders you set up yourself, and GitHub releases when it checks for updates (this can be turned off in Settings).
  53. ## Build from source
  54. Requirements: Node 20+, Rust (stable), and the [Tauri prerequisites](https://tauri.app/start/prerequisites/) for your system.
  55. ```bash
  56. npm install
  57. npm run tauri dev # the desktop app
  58. npm run dev # the UI alone in a browser, with demo data
  59. cargo run -p detour-cli -- --help # the command line
  60. cargo test --workspace
  61. ```
  62. <details>
  63. <summary>Release builds</summary>
  64. Release builds sign their update files with the updater key: set `TAURI_SIGNING_PRIVATE_KEY` (and `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` if it has one), or build without update files:
  65. ```bash
  66. npm run tauri build -- --config src-tauri/tauri.bundle.conf.json --config "{\"bundle\":{\"createUpdaterArtifacts\":false}}"
  67. ```
  68. `tauri.bundle.conf.json` builds the command line (`scripts/sidecar.mjs`) and puts it into the installers, with the `PATH` set up on Windows (`src-tauri/windows/`).
  69. CI builds the macOS and Linux installers and the command line archives for every `v*` tag into a draft release. The Windows ones are signed with a Certum code signing certificate in SimplySign, so they are built locally and added to that draft by `scripts/release-windows.ps1`. It then makes the MCP bundle (`detour-<version>.mcpb`, for Claude Desktop and the [MCP Registry](https://registry.modelcontextprotocol.io)) with `scripts/mcpb.py`, which also updates `server.json` for `mcp-publisher publish`.
  70. </details>
  71. ### Layout
  72. ```
  73. crates/detour-core/ SSH, SFTP, vaults, team sync, crypto. No UI dependencies.
  74. crates/detour-ipc/ the protocol between the core and its clients
  75. crates/detour-daemon/ the core as a process: sessions, tunnels, sync, AI agents
  76. crates/detour-cli/ the `detour` command line and MCP server
  77. src-tauri/ Tauri 2 shell: the window, the tray, a proxy to the core
  78. src/ React + TypeScript UI, xterm.js terminal
  79. lib/api.ts the only boundary between the UI and the core
  80. ```
  81. ## Contributing
  82. Issues and pull requests are welcome. Contributions are published under the project's license. `cargo test --workspace` and `npx tsc --noEmit` must pass.
  83. ## License
  84. Detour is free software under the [GNU AGPL v3](LICENSE) with the additional terms in [NOTICE](NOTICE).
  85. Use it anywhere, including at work, at no cost. Whoever distributes a modified version, or runs one as a network service, must publish its source under the same license, credit it as **Based on Detour** with a link to this repository, and must not call it Detour.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.