SinaXhpm/Submarine
Über uns
Kostenloser Open-Source-Client für SSH und SFTP, mit Unterstützung für RDP, VNC und Telnet. Mit Terminal, zweigeteiltem SFTP-Fenster, Portweiterleitung, Ordnerspiegelung und verschlüsselten Profilen. Verfügbar für Windows, macOS, Linux und Android. Entwickelt mit Rust und Tauri.
EntwicklerwerkzeugeGemessener Sternzuwachs
- in 24h
- +4
- in 7 days
- +17
- in 15 days
- +44
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
Submarine — SSH, SFTP, FTP, RDP, VNC & Telnet Client
A fast, free, open-source remote-access client for Windows, macOS, Linux, Android, iPhone and iPad.
Terminal, dual-pane SFTP and FTP, port forwarding, folder mirror, remote desktops, encrypted profile sync and an optional AI assistant in one native window. Built with Rust and Tauri.
Website · How your data is protected · Privacy · Download · App Store (iPhone, iPad)
TL;DR — Submarine is a free, open-source SSH, SFTP and FTP client for Windows, macOS, Linux, Android, iPhone and iPad. It replaces the usual PuTTY + WinSCP + FileZilla + tunnel-manager (+ Remmina / VNC viewer) stack with one tabbed window per server: terminal, SFTP and FTP, port forwarding (SOCKS / HTTP / local / remote), folder mirror, server info, Docker, and RDP, VNC and Telnet sessions. Profiles are encrypted on your device, and optional cloud sync can keep them in step across your machines and your phone. An optional AI assistant works on a server with your own AI provider, and AI agents on your computer, such as Claude Code, can work through Submarine without getting your passwords, keys or the server's address. Built with Rust and Tauri. MIT licensed.
At a glance
- SSH, SFTP, FTP and FTPS, Telnet, VNC and RDP in one app — pick the type when you add a server; each opens as a tab (the terminal for SSH and Telnet, the file browser for FTP, the remote screen for VNC and RDP)
- In 15 languages — English, Deutsch, Español, Français, Italiano, Polski, Português (Brasil), Türkçe, Русский, Українська, हिन्दी, 日本語, 한국어, 中文(简体)and 中文(繁體); it follows the system's language, or pick one in Settings → Language
- One window, many tools per server — terminal, SFTP, tunnels, folder mirror, Docker, live server info and a command library, all around the same session
- An AI assistant, if you want one — chat about a server in its AI tab with your own AI provider (Anthropic, OpenAI, an OpenAI-compatible service or a model on your own machine); it reads and edits files and runs commands at the permission level you pick, and its file changes can be undone
- Access for AI agents — an agent on your computer, such as Claude Code, can work on your servers through Submarine over MCP: you approve each access, and it never gets a password, a key or the server's address
- Watch many servers at once — split view for two sessions, a Wall pinboard for any terminals across hosts, and broadcast input to several sessions at once
- Works with your existing SSH setup — reads
~/.ssh/config(Include, Match, ProxyJump, ProxyCommand, IdentityFile, certificates), logs in with keys from ssh-agent / Pageant / the Windows OpenSSH agent, trusts yourknown_hosts - Native and cross-platform — Windows, macOS (one app for Apple Silicon and Intel), Linux (
.deb/.rpm/ Arch / AppImage) and Android, plus iPhone and iPad from the App Store, and the same encrypted vault on all of them - Encrypted profiles — Argon2id + AES-256-GCM on your device; open a profile with Windows Hello or an Android fingerprint if you turn that on
- Optional cloud sync — records are encrypted before upload; use the hosted server, or point Submarine at your own
- Import from anywhere — PuTTY
.reg, MobaXterm.mxtsessions, OpenSSH config and Submarine JSON exports - Honest about risk — Telnet, plain FTP and plain VNC are labelled not encrypted, and the built-in RDP client is marked experimental
Screenshots
More pictures: mirror, servers, settings, terminal
Looking for an alternative to…
If you're searching for one of these, Submarine is a direct fit:
- a free PuTTY alternative for macOS and Linux (and a tabbed PuTTY replacement on Windows)
- a WinSCP alternative that lives in the same window as your terminal
- a MobaXterm alternative that isn't Windows-only
- a free Termius alternative without a subscription — your encrypted profiles can travel from desktop to your Android phone
- a Tabby / iTerm2 + SFTP combination that is one app
- a simple Remmina or Remote Desktop Connection launcher and VNC viewer that sits next to your SSH servers
- an rsync GUI that mirrors a local folder to a remote SSH host with conflict resolution
- an Android SSH client (ConnectBot / JuiceSSH style) that shares saved servers with your desktop
- an AI terminal that also does SFTP and FTP, uses your own AI provider, and asks before it runs anything
Why Submarine
Most SSH clients feel like they were built a decade ago and never updated. Submarine is a modern alternative for developers and sysadmins who connect to remote machines every day.
- Native webview, no bundled Chromium. Built with Rust + Tauri. Desktop installers are 7–13 MB (the AppImage and the Android APK are larger).
- One window, everything you need. Terminal, SFTP file browser, port tunnels, folder sync, saved commands and remote desktops are tabs around each server. No more juggling PuTTY, WinSCP, a tunnel app and an RDP client.
- Fits the setup you already have. Your
~/.ssh/config, your agent, yourknown_hosts, your Teleport or OpenSSH certificates and ProxyJump / ProxyCommand hosts all work. - Secure by default. Saved servers are encrypted on disk. Cloud sync is optional and encrypts record contents before upload. Unencrypted protocols are labelled as such. See Security and privacy for exactly what is and isn't protected.
- An AI assistant that asks first. It is off until you add a provider, works at the permission level you choose for each server, shows every command it runs, and every file change it makes can be undone.
- Truly cross-platform. Windows, macOS (Apple Silicon and Intel) and every major Linux distribution —
.deb,.rpm, Arch package and AppImage — plus Android, and iPhone and iPad through the App Store.
Key Features
Servers and organisation
- Nested folders with colours, drag and drop to move servers and folders, and a search box
- Tag colours on every server, so production and staging are never confused
- Five server types: SSH, FTP and FTPS, Telnet, VNC and RDP — one list, one vault
- Cards or a list: each server shows its kind of connection, its login and port, and a dot when its tab is open
- Jump hosts and proxies per server: another saved server as a jump host, or a SOCKS5 or HTTP proxy
- Import from PuTTY
.reg, MobaXterm.mxtsessions, an OpenSSH config, or a Submarine JSON export; generate a key right from the server form - Quick connect for a host you haven't saved yet — it is added to your root folder (with what you typed, password or key included), so remove it afterwards if you don't want it kept
- Autostart: flag a server and it opens and connects when the app launches
- Per-server notes and per-server commands (or commands for all servers); a command can be secret (hidden until you show it, and run, never pasted) and carry tags to filter by
Login methods
- Passwords, key files and pasted keys (OpenSSH, PEM, PKCS#8 and SEC1 formats; RSA, ECDSA including P-521, Ed25519), with or without a passphrase
- Keyboard-interactive and two-factor prompts, with the saved password filled in where the server asks for it
- ssh-agent: keys from Pageant, the Windows OpenSSH agent (and agents that use its pipe, such as 1Password),
SSH_AUTH_SOCKor theIdentityAgentnamed in your config; smartcards and hardware keys work through it. A per-device switch turns it off. - OpenSSH and Teleport certificates from
~/.ssh/config, with the CA keys in yourknown_hoststrusted - A blank username is asked for when you connect; a missing password or passphrase is asked for too
- Save password on a password prompt (when the saved one is wrong, or none is saved): the typed password is kept once the login with it works, for the server, its saved login or the jump host it was asked for
- Host keys: trust on first use with a fingerprint prompt, pinned afterwards; a changed key (or a key of a different kind than the one on file) is flagged before anything secret is sent
- Legacy-friendly: NIST-curve and SHA-1 group-exchange key exchanges are offered, so older appliances still connect
Terminal
- Tabs as in a browser: the + after the last tab (or Ctrl+Shift+T, ⌘T on a Mac) opens a server, Ctrl+Tab moves between tabs, drag a tab to move it, middle-click to close it
- Several shells per session (a new one takes the lowest free number); rename tabs
- A terminal with its own login: a shell on a connection of its own instead of a channel of the tab's, once or always for a server (for software that ties rights to the login, such as CA Access Control's
sesu) - Search the scroll-back with Ctrl+Shift+F and the command history with Ctrl+Shift+R (Cmd+Shift on macOS); plain Ctrl+F and Ctrl+R stay the shell's
- Ctrl+Shift+K clears a terminal, Ctrl+Shift+W closes it and Ctrl+Shift+click opens another one (Cmd+Shift on macOS)
- Change any shortcut in Settings → Keyboard shortcuts, even keys the shell uses: Ctrl+C can be Copy, as in Windows Terminal (with a selection it copies; without one it still stops the program)
- Full xterm.js — true colour, ANSI 256, mouse support, 10,000 lines of scrollback by default (you can change it)
- Colour schemes: Submarine, Campbell, One Half Dark / Light, Dracula, Solarized Dark, Nord and Gruvbox Dark, or import your own from Windows Terminal; built-in fonts, or any font installed on the device (Nerd Fonts work for starship / powerline prompts); a separate interface font for menus and panels in Settings → UI customization
- Select to copy, right-click to paste (bracketed paste), Ctrl+Shift+C / Ctrl+Shift+A; wrapped lines copy as one line. In programs that take the mouse (mc, htop, vim), Shift+drag copies and Shift+right-click pastes (Option on a Mac)
- Links ask first — a clickable link, and a multi-line paste, wait for your OK
- Type the saved password at a sudo prompt with one button
- Reconnect-safe scroll-back — when a session drops and reconnects, earlier output stays; a divider marks the boundary. If a connect times out or the server can't be reached, Submarine offers to try again.
- Container shells — one click from the Docker tab opens a
docker execshell with abash → sh → ashfallback - Shell config push — send selected dotfiles from this computer to a server on demand, with a preview; existing files are moved to a trash folder first, and keys, tokens and history are never pushed
SFTP file browser
- Dual pane (local and remote) as tabs, stacked, or side by side, and the tool panel can sit on any side of the terminal or go full screen
- Compare the local and the remote folder by name, size and time
- Drag and drop between panes, from your file manager, and onto folders; multi-select with Ctrl/Shift-click, Select-All and Ctrl+A
- Archive a selection and extract zip or tar files, in both panes
- Live edit — double-click a remote file to open it in your editor; saves upload back automatically
- Overwrite confirmation for uploads and downloads, with "apply to all" for batches
- Per-pane filter with
*and?wildcards, folder bookmarks per server, an Owner column, a path bar with clickable parts, chmod / chown (permissions grid) - Root mode through sudo for file operations
- Works on servers without SFTP (OpenWrt's Dropbear, an sshd without the SFTP subsystem): file access runs over ordinary shell commands, and the pane says "Shell"
FTP and FTPS
- An FTP or FTPS server opens in a tab with the same file browser an SSH server has: transfers, folder upload and download, compare, live edit, rename, delete, new folder and permissions (
SITE CHMOD, where the server has it) - Encryption per server: FTPS with TLS after connecting (
AUTH TLS, the default), FTPS with TLS from the start (port 990), or plain FTP if you pick it — the form, the card and the tab say plain FTP isn't encrypted. Once FTPS is chosen, nothing goes in the clear: a server that refuses TLS isn't used - Certificates: one a public authority vouches for is accepted; any other is shown once with its SHA-256 fingerprint and remembered, like an SSH host key; a changed one is shown with a warning
- Directly, through one of your SSH servers, or through a SOCKS5 or HTTP proxy; data connections are passive and go only to the saved host (no "FTP bounce")
- An empty login name logs in as anonymous
- The folder mirror works over FTP too (exact file times from MLSD or MDTM); Quick Connect takes
ftp://,ftps://andftpes://links, and the server import reads FileZilla's site list
Folder mirror
Pick a local folder, pick a remote folder, and Submarine keeps them in sync.
- Two-way initial sync that compares size and content hash, not just timestamps
- Live watcher — every save, create, rename or delete on the local folder reaches the server
- Conflict resolution per mirror: Local wins (default), Remote wins or Newer wins; excludes such as
node_modulesand*.log - Soft delete — removed files move to
.submarine-trash/on the server - A mirrored folder that goes away deletes nothing on the server, and a dry-run preview calls out what would be overwritten before each start
Port forwarding
- Local (
-L), remote (-R) and dynamic (-D) tunnels, named, started and stopped one by one, saved with the server - Dynamic tunnels speak SOCKS4, SOCKS4a, SOCKS5, SOCKS5h, HTTP CONNECT and plain HTTP proxy
- Autostart with the app; a log shows what each tunnel did
Remote desktops: VNC, RDP and Telnet
- VNC opens as the remote screen in the tab, directly or through an SSH server, on the PC and on the phone (touch, zoom, a keyboard button). Tight, ZRLE, TRLE, CopyRect and Raw encodings; the desktop takes the tab's size where the server allows it. Speed and quality per server on this device: the encoding, the colours (full, 16 or 8 bits), the most updates a second and the resolution, with quick choices (Standard, Less data, Least data). The clipboard is shared both ways, as plain ASCII text (links, commands): classic VNC carries no more. Plain VNC is not encrypted, and the form, the list and the tab say so.
- RDP opens in this computer's RDP app by default (Windows Remote Desktop Connection, Remmina or FreeRDP on Linux, the system handler on macOS), with per-server full-screen, window size, clipboard and drive-sharing options kept on this device. Through an SSH server it gets the same loopback address every time, and Remote Desktop Connection on Windows gets the saved password (encrypted with DPAPI in its
.rdpfile, which is deleted once read). The built-in RDP client (in the tab, on the PC and the phone) is experimental and opt-in; its certificate is pinned like an SSH host key and checked before anything secret is sent. It also needs NLA (the server proves it knows the password before the client sends it): a server that answers "TLS only" is refused with nothing sent, unless you allow that one server ("Allow without NLA"). It shares the clipboard (text, both ways) and, on the PC, files: a folder or a whole drive, read only or not, which the server sees as\\tsclient\<name>; on a Windows server, Open it on the server in the tab's Files panel types its address into Run. Speed and quality per server: colours (32, 24 or 16 bits), desktop effects, the network's speed, RemoteFX and the resolution, with quick choices (Best picture, Balanced, Less data). - Both remote screens have a connection mark in the tab's bar (Good, Fair, Weak or Not answering, with the round trip, the data rates and the session's bytes; on a weak link it offers to use less data), change their speed and quality from the tab, and pause while the tab is hidden (on by default), so a tab nobody looks at sends no picture.
- Telnet opens in a terminal tab, directly or through an SSH server, with proper option negotiation. It is not encrypted and says so.
- All three can go through an SSH server you already have.
Server info and Docker
A read-only inspection pane for the active session — no terminal commands needed.
- Overview (hostname, OS, kernel, uptime, load, CPU, memory, swap, disks), Network (interfaces, routes,
iptables/nftablesrules), Ports (listening sockets with process names) and Services (systemd, OpenRC and OpenWrt's procd, with Start / Stop / Restart) - Docker manager: containers (start, stop, restart, pause, kill), live logs, stats, inspect, env / mounts / ports, images, volumes, networks, compose files, safe prune (never
--volumes, never-a), anddocker execshells as session tabs
Monitoring and the Wall
- Monitoring: per-node SSH polling for CPU, memory, swap, disk, load and network, graphs, an outage log with optional notifications, and your own custom metrics (a command whose output becomes a graph, a number or text)
- The Wall: pin any terminals from any servers into a grid; choose the columns and the rows on screen
- Split view to tile two sessions, and broadcast input to the sessions you select
AI assistant (optional)
Off until you set it up in Settings → AI assistant.
- Your own provider: Anthropic, OpenAI, another OpenAI-compatible service (OpenRouter, DeepSeek, Groq, Google Gemini and others) or a model on your own machine (Ollama, LM Studio). Keys and chats are kept in the profile, encrypted, and requests go straight from the app to the provider — nothing goes through a service of Submarine's
- Where: an AI tab in each SSH and FTP session, and an AI page with all chats. A chat can change model or provider midway
- What it can do: read files and folders, write and edit files (the diff is shown first) and, on SSH servers, run commands. The AI terminal shows each command and its output as it runs. On an FTP server it works with files only
- Permission levels, per server: Suggest only, Ask for every command, Ask (the default: commands it can prove only read run by themselves), Auto, and Full access (never saved; you type the server's name to turn it on). Every file change is listed in Activity and can be undone there
- Before your first message goes to a provider, the app asks, naming where it goes. A private key in command output or in a file is removed before anything is sent
AI agents (optional, on a computer)
Off until you turn it on in Settings → AI agents, which shows how to add Submarine to an agent.
- An AI agent on your computer, such as Claude Code, connects through
submarine mcp, an MCP server the agent starts. It reaches the running app over a named pipe (Windows) or a Unix socket (macOS, Linux) that only your user account can open — there is no network port - An agent can't list your servers. It asks for access, and you choose in Submarine's window the server, the operations, the folders, how long (8 hours at most) and whether each operation asks you first. Deleting a file always asks
- Commands on SSH servers; files (list, read, write, edit, delete) inside the folders you chose, on SSH and FTP servers. An FTP server never runs commands
- An agent never gets a password, a key or the server's address (the address is replaced in what it reads). Each operation is listed in Activity with the agent's name, and its file changes can be undone
The assistant's and the agents' screens are in English for now.
Profiles and security conveniences
- Each profile is its own vault with its own master password; several can live on one device
- Quick unlock (off by default): open a profile with Windows Hello (needs a TPM) or an Android fingerprint. The password itself is never kept: the vault key is sealed to a key in the TPM or the Android Keystore. Not offered on Linux, macOS, iPhone or iPad, never synced or exported.
- Portable mode on Windows: all data in a
submarine-datafolder next to the exe - A copy in a folder (on a computer): every save also writes the profile's encrypted file into a folder you choose. Put it in OneDrive, Google Drive or Dropbox, and Import opens it on your other computers with the profile's password. It is a copy, not sync
- Send feedback from the app (Settings → Help & feedback, or Feedback on the profile list): only what you type is sent, and a name and an email if you give them — no logs, no list of servers, no system details
Cloud sync (optional)
- Turn it on to keep your profiles in step across your computers and your phone; sync sends only what changed, compressed
- Share a profile with other accounts as Owner, Editor or Viewer; changes by others that would run something, and mass deletions, wait for your OK
- Before a sync deletes rows from one of your profiles (a deletion arrives from the server), the profile is copied next to its file (
<name>.submarine.bak-<time>, the newest five kept), and the sync log says how many rows went and where the copy is - Use the hosted server, or point Submarine at your own sync server (submarine-sync-server: Docker or plain PHP hosting) in Cloud Sync → Sync server, with an optional proxy for the sync connection
- What the server can and can't see is spelled out under Security and privacy
Install
Pick a binary from the latest release and you're done — no extra dependencies.
| OS | File |
|---|---|
| Windows 10 / 11 | .exe installer or .msi, or the portable .zip |
| macOS (Apple Silicon and Intel) | .dmg or .app.zip |
| Debian / Ubuntu / Mint | .deb — sudo apt install ./submarine_*.deb |
| Fedora / RHEL / openSUSE | .rpm — sudo dnf install ./submarine-*.rpm |
| Arch / Manjaro / EndeavourOS | .pkg.tar.zst — sudo pacman -U submarine-*.pkg.tar.zst |
| Any Linux | .AppImage — chmod +x and double-click; a Flatpak can be built from packaging/flatpak |
| Android 7.0+ | .apk — sideload, no Play Store required |
| iPhone / iPad (iOS 15+) | the App Store (free) |
| macOS signed by Apple, and iPhone / iPad betas | the beta on TestFlight — install Apple's TestFlight app, then open the link; the Mac App Store version is with Apple's review |
The Windows .exe installs for the current user and needs no administrator rights; /S installs silently and /D=<folder> (last on the line) picks the folder. The .msi installs for all users.
The profile list says when a newer version is out. To hear about betas too, turn on Tell me about beta versions in Settings → Updates.
The Windows build is not code-signed. Windows SmartScreen will prompt — click "More info → Run anyway". The macOS download isn't signed by Apple yet: macOS says the app is damaged until you move it to Applications and run
xattr -dr com.apple.quarantine /Applications/Submarine.app, or take the TestFlight version, which Apple signs. The Android APK is signed with the author's key:apksigner verify --print-certsshould show the certificate SHA-256e9e350dc9f8628bee461be3424c0c2b2180f00685cc380de80c86808ae669f1c. Android sideloading needs "Install unknown apps" enabled for the installer source. Releases from v0.4.0-beta.1 on carry aSHA256SUMSfile to check a download against.
Portable mode (Windows)
Submarine can keep all of its data next to the executable instead of in your user profile — on a USB stick, say. Create an empty folder named submarine-data beside submarine.exe and start the app; the -portable.zip release asset is already laid out that way. Profiles, the cloud sign-in, the window position and the UI preferences then live in submarine-data, and Settings → Maintenance shows the folder in use.
A first portable launch starts with no profiles. To carry existing data over, close Submarine and copy two things into submarine-data:
- the contents of
%APPDATA%\com.submarine.app, exceptsync_device.json— it identifies each install to cloud sync, and the portable copy creates its own; - the folder
%LOCALAPPDATA%\com.submarine.app\EBWebView. It holds the app's settings, including Auto-sync. Without it Auto-sync starts out on, and the first profile you open is uploaded to your cloud — so if you skip this folder, turn Auto-sync off in Settings before opening a profile you keep only on this computer.
submarine-data then holds your encrypted profiles and your cloud sign-in token, so keep it somewhere only you can read.
Not portable: the Microsoft Edge WebView2 runtime (a Windows system component, preinstalled on Windows 11 and current Windows 10) and the short-lived temp files used while editing or dragging remote files. If submarine-data can't be written to, Submarine falls back to the usual per-user folders and says so in Settings. (A plain, non-packaged Linux build works the same way — it just doesn't ship a prebuilt zip.)
Android
Submarine on Android is a native build of the same Rust core — same SSH stack, same encrypted vault format, same profile sync. Reach a server from your phone with the credentials you saved on your desktop.
- Same encrypted vault. With cloud sync on, your profiles appear on the phone as they were on the desktop.
- Touch-friendly terminal. An inline key bar between the terminal and the keyboard has Esc, Tab, arrows,
|,~,/,-and Termux-style sticky modifiers (tap to arm, double-tap to lock), so Ctrl+letter, Alt+letter and Shift+Tab work. - A hardware keyboard (a keyboard cover, USB or Bluetooth) types into the terminal as on a computer: the terminal takes the focus, and Shift and AltGr characters work.
- A long press on the terminal shows a Paste button; copy and paste go through Android's clipboard.
- Auto-scroll on focus so the prompt never sits behind the keyboard.
- SFTP file browser with multi-select, upload from the phone's storage and download into Downloads; exports go through the system file picker.
- VNC and the built-in RDP client show the remote screen with touch, zoom and a keyboard button, the connection mark and their speed and quality; a phone shares no files with an RDP server.
- Fingerprint unlock for a profile, if you turn it on; the app stays out of Recents.
- Port forwarding (SOCKS / local / remote) runs as long as the app is open.
- The AI assistant is in each session's AI tab, as on the desktop. Access for AI agents is desktop-only.
- Folder mirror is desktop-only for now.
Built for Android 7.0 (API 24) and newer, on phones, tablets and Android-on-ChromeOS; the current builds are tested on Android 16.
Security and privacy
What is encrypted, and where
- Your master password becomes a vault key on your device. When you unlock, the password is run through Argon2id to derive a key, and the Rust backend keeps that key in zeroized memory and drops it on lock (the sharing key of a signed-in account is locked with the profile too). (The password you type passes through the webview, so a copy can linger in its memory until garbage collection.)
- Profiles are sealed with AES-256-GCM on your device. Saved servers, credentials, keys, tunnels, notes, commands and mirrors are encrypted with that key; what reaches disk is ciphertext. Window position, the last-used profile name, recent folders and similar preferences are stored in the clear in the app's own settings.
- Quick unlock is opt-in. If you turn on Windows Hello or an Android fingerprint, the vault key is sealed to a key in the TPM or the Android Keystore — never the password.
- Unencrypted protocols say so. Telnet, plain FTP and plain VNC are labelled not encrypted in the form, the list and the tab. The built-in RDP client is labelled experimental.
- Connections are checked. SSH host keys are pinned after the first use, and a changed key (or a key of a different kind) is flagged before anything secret is sent. An RDP certificate is pinned the same way, and the built-in RDP client refuses a server without NLA unless you allow that server.
Cloud sync (optional) — what the server sees
- Signing in uses an email address (verified by a link) and an account password, with reset by email. The master password itself is never sent.
- Each record is encrypted on your device before upload. The server does see metadata: record IDs, record types (servers, credentials, keys, notes, commands, folders), timestamps and deleted flags, the profile's display name, the number of records, and for shared profiles the share names and member email addresses.
- The server also holds a copy of the vault key sealed with your master password. Someone who got hold of the server's data could try to guess a weak master password offline, at Argon2id cost — so use a long master password if you sync. A server breach does not hand over the plaintext, but the master password is the only thing standing in the way.
- Cloud sync is opt-in per account: once you sign in, profiles you open are linked and synced (Auto-sync is on by default and can be turned off in Settings). Don't sign in on a computer if you don't want its profiles uploaded.
- You can run your own sync server instead of the hosted one: submarine-sync-server.
- You can delete your account from inside the app (Cloud sync → Delete account…, confirmed with your password): everything the server holds for it goes at once. The full details, with retention times, are in the privacy policy.
- How your data is protected explains all of this with links to the code that does it, and ways to check it yourself.
The AI assistant and AI agents (optional)
- The assistant sends a chat to the AI provider you added, and nowhere else: your messages, and what it reads and does on the server in that chat. The app asks before the first message goes out, and removes private keys from what is sent. Providers, keys and chats stay in the profile, encrypted.
- AI agents on your computer reach Submarine through a pipe or socket that only your user account can open, never over the network. Each access needs your approval in Submarine's window, lasts 8 hours at most, and ends when you revoke it, lock the profile or close the app. An agent never receives passwords, keys or the server's address.
- The details, including what is kept on your device, are in the privacy policy.
Network traffic besides your servers
- No analytics SDK, no crash reporter and no advertising calls.
- When the profile page opens, Submarine makes one anonymous request to the GitHub releases API to see whether a newer version exists (the request carries the app name and version, nothing else). There is a button to run the same check by hand.
- If you sign in to cloud sync, it talks to the sync server (
submarine.sinaxhpm.com, or the one you chose). - If you add an AI provider and use the assistant, it talks to that provider.
Other defences: a strict Content Security Policy, a minimal Tauri permission ACL, and no shell or filesystem plugin exposed to the UI. The Windows build is not code-signed (see Install); the Android APK is signed, and the App Store builds are signed by Apple's process.
Found a vulnerability? Please don't post exploit details in public: open an issue that says only that you found one, and the maintainer will reply with a private way to send the details.
FAQ
Is Submarine free?
Yes. MIT-licensed. Use it personally, use it at work, fork it, redistribute it.
Does it work offline?
Yes. Cloud sync is optional. All profiles, mirrors and tunnels live locally and are encrypted at rest.
How is it different from PuTTY, WinSCP, or MobaXterm?
PuTTY and WinSCP are two separate apps you alt-tab between. MobaXterm bundles them but is Windows-only. Submarine puts terminal, SFTP, tunnels, folder mirror and remote desktops in one tabbed window per server — and runs natively on Windows, macOS, Linux and Android.
Does it support keys with passphrases and ssh-agent?
Yes. File-based keys and pasted keys (OpenSSH, PEM, PKCS#8 and SEC1 formats) with or without a passphrase, and keys from a running ssh-agent — Pageant, the Windows OpenSSH agent, SSH_AUTH_SOCK or the IdentityAgent in your config.
Does it read my ~/.ssh/config?
Yes, read-only, and you can switch it off per device. It follows Include, Host and Match (Match exec is never run), ProxyJump, ProxyCommand, IdentityFile, CertificateFile and IdentityAgent. Nothing from those files is synced.
Can I use FTP or FTPS?
Yes, from version 0.5: an FTP server opens in a tab with the same file browser as SFTP, with FTPS (TLS) by default, directly, through an SSH server or through a proxy. Plain FTP is there if you pick it, and the app says it isn't encrypted.
Does Submarine have an AI assistant?
Yes, from version 0.5, and it's off until you set it up in Settings → AI assistant. It uses your own AI provider — Anthropic, OpenAI, an OpenAI-compatible service, or a local model through Ollama or LM Studio — and works on a server from that session's AI tab, at the permission level you choose. Nothing goes to a provider until you add one and send a message.
Can Claude Code or another AI agent use my servers through Submarine?
Yes, on a computer, from version 0.5. Turn it on in Settings → AI agents, which shows how to add Submarine to the agent (it speaks MCP). The agent asks for access, and you choose the server, the operations, the folders and the time. It never gets a password, a key or the server's address.
Can I use RDP, VNC and Telnet?
Yes. VNC shows the screen in the tab and shares the clipboard (plain text). RDP opens in your computer's RDP app by default, or in the tab with the experimental built-in client, which shares the clipboard and, on the PC, a folder or a drive. Both remote screens show how the connection is doing and let you trade picture quality for less data. Telnet opens in a terminal tab. All three can go through an SSH server, and Telnet and plain VNC are labelled as not encrypted.
Can I sync profiles between Windows and macOS?
Yes. The encrypted vault is platform-portable. Turn on sync on one machine, sign in and unlock on another with the same master password.
Why Rust and Tauri instead of Electron?
Smaller installers (7–13 MB on desktop versus ~100 MB for a typical Electron app), no Chromium bundled per app, and native window controls.
Where are my profiles stored?
In an encrypted file under your OS app-data directory — or in the submarine-data folder when you run in portable mode. Server details and secrets are encrypted; a few preferences (the last-used profile name, recent folders, window position) are stored in the clear.
Does Submarine collect telemetry or analytics?
No analytics SDK and no crash reporter. Besides your own servers, it makes one anonymous request to the GitHub releases API when the profile page opens (to check for a new version; not in the iPhone and iPad app or the Mac App Store build, which the store updates), and talks to the sync server only if you sign in to cloud sync, and to an AI provider only if you add one and use the assistant.
Can I use Submarine on my Android phone with the same servers as my desktop?
Yes. Install the APK, turn on cloud sync, and unlock with the same master password — every server, key and saved tunnel appears on the phone. Folder mirror is desktop-only for now; terminal, SFTP, port forwarding, VNC and RDP work on Android.
Is there an iPhone or iPad app?
The same source builds for iPhone and iPad (iOS and iPadOS 15 or later). Get it free on the App Store; betas are on TestFlight. It works like the Android app: terminal, SFTP, port forwarding, VNC and the built-in RDP client, the same vault and sync. Exports land in the app's folder in the Files app; there are no folder mirrors, and no files are shared with an RDP server.
Is Submarine on the Play Store?
No. It is distributed as a sideloadable APK from the releases page.
Build from Source
Requirements: Node 20+, Rust 1.90+, Tauri prerequisites for your OS. The SSH stack is pure Rust, so no OpenSSL or Perl is needed on any platform.
git clone https://github.com/sinaxhpm/submarine
cd submarine
npm install
npm run tauri dev # run in development
npm run tauri build # build release bundle
Android build
Extra requirements: Android SDK + Platform-Tools, NDK 27, and JDK 17. scripts/android-env.ps1 sets JAVA_HOME, ANDROID_HOME, and NDK_HOME for the current PowerShell session. It finds the SDK through ANDROID_HOME or ANDROID_SDK_ROOT, or in Android Studio's default folder (%LOCALAPPDATA%\Android\Sdk).
. .\scripts\android-env.ps1
npm run android:init # one-time per checkout
npm run android:dev # build + install on the connected device
npm run android:build # produce an APK (unsigned unless you configure a release keystore)
Device must be plugged in over USB with debugging enabled.
npm run android:dev runs scripts/android-dev.ps1, which:
- Verifies
adbis on PATH and at least one device is listed. - Applies
adb reverse tcp:1420 tcp:1420andtcp:1421 tcp:1421(Vite dev + HMR) so the WebView reaches the host via USB loopback. - Runs
tauri android dev --host 127.0.0.1so the WebView'sdevUrlbakes in127.0.0.1, matching whatadb reverseexposes.
This path works whether Wi-Fi is on or off — only USB matters. If you still see failed request for http://127.0.0.1:1420 while debugging, USB has dropped or the reverse mapping was cleared (re-plug, reboot, or adb kill-server all clear it). Re-run npm run android:dev and it'll re-apply the mapping. To bypass the helper, use npm run android:dev:raw (calls tauri android dev directly — Tauri then picks the host's LAN IP).
Tech Stack
Frontend — React 18 · TypeScript · Tailwind CSS · xterm.js Backend — Rust · Tauri 2 · russh · IronRDP · vnc-rs · rusqlite · aes-gcm · argon2 · zstd
Credits
Designed and built by Sina in collaboration with Claude. Every line of code in this repo was written together with Anthropic's Claude.
License
MIT — see LICENSE.
Also by the author
Echoes — 23 network and developer tools in one app
A Doctor that says in one sentence why a site won't open, plus ping, traceroute, a speed test, a port scanner, DNS, cURL, SSH and file sharing with any browser. Free and open source for Windows, macOS, Linux, Android, iPhone and iPad.
Captun — a smart hotspot
Share your computer's internet, VPN or proxy with phones, TVs and consoles over Wi-Fi, a cable or USB, and decide where each device's traffic goes. For Windows and Linux; in development, no release yet.
Keywords: SSH client, SFTP client, FTP client, FTPS client, FileZilla alternative, Telnet client, VNC viewer, RDP client, remote desktop client, terminal emulator, AI assistant, AI terminal, AI SSH client, MCP server, Claude Code, Ollama, port forwarding, SSH tunnel manager, SOCKS proxy, HTTP proxy, jump host, ProxyJump, ssh-agent, Pageant, SSH certificates, Teleport, folder mirror, folder sync, remote file edit, encrypted profile sync, self-hosted sync, Windows Hello unlock, Argon2id, AES-256-GCM, TOFU host keys, Rust, Tauri, React, xterm.js, Windows SSH client, macOS SSH client, Linux SSH client, Android SSH client, open source SSH, MIT licensed, PuTTY alternative, WinSCP alternative, MobaXterm alternative, Bitvise alternative, Termius alternative, SecureCRT alternative, Royal TSX alternative, Remmina alternative, ConnectBot alternative, JuiceSSH alternative, rsync GUI, sshfs alternative, Tabby alternative.
Echoes: network toolkit, network tools, connection doctor, website not loading, DNS tampering test, SNI filtering test, ping, TCP ping, traceroute, MTR, WinMTR alternative, internet speed test, bufferbloat test, port scanner, nmap alternative, check host, Wi-Fi analyzer, DNS over HTTPS, DNS over TLS, DNS benchmark, SPF DKIM DMARC checker, WHOIS, RDAP, cURL GUI, Postman alternative, SSL checker, TLS inspector, IP lookup, GeoIP, Cloudflare manager, Cloudflare DDNS, dynamic DNS client, uptime monitor, Telegram alerts, netcat alternative, WebSocket client, webhook tester, LAN file sharing, QR code file transfer, SOCKS5 proxy server, proxy checker, JWT decoder, CyberChef alternative, encrypted notes.
Bitvise, forever in my heart.
Ähnliche Projekte entdecken
Wird geladen…














