K-Shell Download

K-Shell

A free, open-source desktop app for SSH, SFTP and S3.

  • SSH terminal
  • Telnet · Serial
  • SFTP · FTP
  • S3 · Azure · GCS
  • Docker · Kubernetes
  • Port forwarding
  • Passwords
  • Workspaces
  • macOS · Windows · Linux

Opening a workspace, autosuggestions, dragging panes and port forwarding from a pasted ssh -L command. Recorded with demo data.

Terminals side by side

Every session gets a tab. Split it right or down and drag the divider to resize. Search the scrollback with ⌘F and copy by selecting. When an SSH connection drops, the session reconnects by itself, and your tabs come back the next time you open K-Shell. Pictures from img2sixel or imgcat show right in the terminal, over SSH too.

Drag a pane by its header to move it: the other panes make room while you drag. Drag a tab onto a terminal to split it in, or drop a pane on the tab bar to give it its own tab. Sessions keep running.

Three terminal panes from two workspace projects

Type at the bottom, read in blocks

Turn on the command box and you type in one place at the bottom while every command stacks up above it as its own block: the folder and git branch, the command, what it printed, and at the right how long it took. A command that failed is marked in red with its exit code, so you spot it while scrolling.

↑ brings back earlier commands, Tab completes file and folder names, and the chips above the input show where you are. Click the folder to jump somewhere else, or the branch to switch. While a command runs your keys go to it, and htop or vim get the whole terminal. It works in zsh and bash, on your computer and over SSH.

Four commands as blocks with their folder, branch and time, one failed in red, and the command box at the bottom suggesting a folder

See what you changed before you commit

When the folder is a git repository, a chip next to the branch counts what you haven't committed, like 3 • +21 -3. Click it and the diff opens next to the terminal: every changed file, new ones included, with line numbers and the same syntax colours as the editor, and a list to jump between files.

Drag its edge to give it more room. It reads the changes again after each command, on your computer or on the server you are connected to.

A terminal on the left and the uncommitted changes of two files on the right, with added and removed lines

Drag files between any two places

Each pane of the File Manager can be your disk, an SFTP or FTP server, or a bucket on S3, Azure Blob Storage or Google Cloud Storage. Drag files and folders across. Up to three transfers run at once, and each one can be cancelled. A transfer between your computer and an SFTP server that stopped halfway can be resumed.

Images open in a preview, code and config files in an editor with syntax highlighting, and everything else in the app your computer uses for it. Edit a server file in your own app and K-Shell offers to upload it when you save. Code files show the logo of their language, so a .py, a .rs and a Dockerfile are easy to tell apart.

File Manager with two panes and a finished 18 MB transfer

Docker and Kubernetes in a tab

The Containers tab lists your containers, running and stopped, grouped by Compose project, on your own computer or on any SSH host. Pick one to see its CPU, memory, network, ports, volumes and logs, and click Shell to land in it, in bash or sh. Start, stop or restart it from the same place.

The storage bar shows how much disk Docker takes. Click it to see every volume and image by size and clean up the images nothing uses. It runs the docker and kubectl you already have, and nothing is installed on the server.

The Containers tab with a Compose project, one container's CPU, memory and network, and Docker's disk use along the bottom

See why a pod keeps restarting

Switch to Kubernetes, pick a context and a namespace, and your pods show up with their status the way kubectl get pods shows it: Running, CrashLoopBackOff, Completed. Pick one to see each of its containers with its state and reason, how often it restarted and why its last run ended, like OOMKilled (exit 137).

Its logs are one click away, per container, and Previous run shows what it printed before the last restart. Open a shell in the container you pick, or follow its logs in a terminal tab.

A Kubernetes pod in CrashLoopBackOff with its container's reason, restarts and last exit

Find a host, or type user@host

Press ⌘K to search hosts and snippets by name, address or tag. Type user@host and press Return to connect to a server you haven't saved.

The command palette filtering the host list for “web”

Everything else

Port forwarding

Local, remote and SOCKS5 tunnels through your saved hosts. Paste an ssh -L … user@host -p port command and K-Shell fills in the rule and picks the matching host. Turn on Start automatically when K-Shell opens for the ones you use every day.

Object storage

Any S3-compatible service, with presets for AWS, Cloudflare R2, MinIO, Wasabi, Backblaze B2, Tencent COS and more, plus Azure Blob Storage and Google Cloud Storage. Copy share link makes a link that works for 7 days. The host list shows each provider's logo.

Keychain

Generate Ed25519, ECDSA or RSA keys, or import your own. Install on host… adds the public key to the server's authorized_keys.

Passwords

Keep the passwords that aren't for a host, like databases, web consoles and API tokens, in the same encrypted vault. Weak and reused ones are flagged, and the generator makes new ones.

Snippets

Save commands you use often. Write {{branch}} and K-Shell asks for the value when the snippet runs. Paste one into the terminal, or use Run on hosts and see each server's output and exit code.

Jump hosts

Reach servers behind a bastion by choosing a jump host in the host settings. ProxyJump entries are imported from your SSH config.

Bring your hosts along

Import on the Hosts page reads your ~/.ssh/config, PuTTY sessions (from the registry on Windows, or a .reg export anywhere), a MobaXterm sessions file, or a CSV from a spreadsheet. A running ssh-agent works without any setup.

Workspaces

Group the project folders you work on, for example one workspace per client. Open a project to get a local terminal in its folder, optionally running a startup command, or use Open all.

Autosuggestions

As you type, the rest of a command you ran before shows up in grey. → accepts it, ⌥→ takes one word. Hidden input like passwords and commands starting with a space are never saved.

Your own prompt

Build a bash or zsh prompt from parts like user@host, directory, git branch, Python venv, conda, kube context and exit code. Long directories are shortened. Find it in Settings → Terminal → Prompt.

Your shortcuts

Change any shortcut in Settings → Keyboard shortcuts: click it and press the new keys. Search by name or keys, and K-Shell warns you about conflicts.

Appearance

Dark, light or System theme, an accent colour, zoom (⌘= ⌘- ⌘0) and 35 terminal themes, dark and light, with an optional separate one for light mode. Hide the sidebar with ⌘B.

Broadcast input

Type in one pane and every pane of the tab gets the same keys, pastes and snippets. Turn it on with ⌥⌘I, and leave a pane out from its header.

Keyword highlighting

Errors show in red, warnings in yellow and successes in green, in any output. Add your own words or a regular expression in Settings → Terminal → Highlight keywords.

Session logs

Turn on Log terminal sessions to keep a plain-text copy of every session, without colour codes, in a folder you choose.

Telnet and serial consoles

For switches, routers and boards that don't speak SSH. A serial host takes the port, baud rate, data bits, parity, stop bits and flow control, and the host editor lists the ports it finds.

Images in the terminal

Sixel and iTerm2 inline images, so img2sixel, imgcat, chafa or viu show pictures. Turn it off or set the memory it may use in Settings → Terminal → Images.

Logos at a glance

Hosts show the logo of their OS or storage provider. In the File Manager, code files show the logo of their language or tool: Python, Rust, Go, Docker, npm and many more.

Server stats

Open a panel next to an SSH terminal with the server's CPU, memory, network, disks and busiest processes, with graphs. It reads them over the same connection, with nothing installed on the server.

Record sessions

Start recording saves a terminal to an asciinema .cast file, without what you type. Play it back in K-Shell, with asciinema play, or turn it into a GIF.

Command palette

⌘K finds hosts, snippets, workspace projects and app commands like Split right or Zoom in, each with its shortcut.

Your data stays on your computer

No account, no cloud service, no analytics or crash reports.

  • Encrypted vault. Hosts, passwords and keys live in one file encrypted with XChaCha20-Poly1305. The key is kept in your system keychain.
  • Lock with a master password. Turn it on and the vault can't be opened without your password, or Touch ID on a Mac. K-Shell locks itself when you step away or the computer sleeps.
  • Copied passwords don't linger. A password or key you copy from K-Shell is kept out of clipboard history and cleared after 30 seconds.
  • Host keys checked. K-Shell remembers a server's key on the first connection and stops the connection with a warning if it changes.
  • Backups with a passphrase. Move your setup to another computer with Settings → Vault & backup.

Download

Checking GitHub for the latest release…

macOS This computer

Windows This computer

Linux This computer

Opening K-Shell the first time on macOS

  1. Open the .dmg and drag K-Shell into Applications.
  2. Open K-Shell. macOS shows: Apple could not verify “K-Shell” is free of malware that may harm your Mac or compromise your privacy. Click Done.
  3. Open System Settings → Privacy & Security, scroll down to Security and click Open Anyway next to “K-Shell” was blocked to protect your Mac.
  4. Click Open Anyway in the dialog and enter your Mac password. K-Shell opens, and macOS won't ask again.

On macOS 14 or earlier, Control-click K-Shell in Applications and choose Open instead. Prefer the Terminal? Run xattr -dr com.apple.quarantine /Applications/K-Shell.app once.

Why: K-Shell isn't notarized by Apple yet (that needs a paid Apple developer account). The source code is public and every installer is built by GitHub Actions from a tagged release.

On Windows

If you see Windows protected your PC, click More info and then Run anyway.

Testing so far. K-Shell has been used and tested mostly on macOS. The Windows and Linux builds come from the same code but haven't had much hands-on testing yet. Azure Blob and Google Cloud Storage were tested against their emulators; FTPS, Google Cloud uploads over 8 MB and Google Cloud share links haven't been tested yet. If something doesn't work, please open an issue.

Build it yourself

You'll need Rust, Node.js and the Tauri prerequisites for your system.

git clone https://github.com/keselyoleren/k-shell.git k-shell
cd k-shell
npm install
npm run app:build

Keyboard shortcuts

macOSWindows / Linux
⌘KCtrl Shift KSearch hosts and snippets, or quick connect
⌘TCtrl Shift TNew local terminal
⌘DCtrl Shift DSplit right
⇧⌘DCtrl Shift ESplit down
⌘FCtrl Shift FFind in terminal
⌘WCtrl Shift WClose tab
⌘1Ctrl Shift 1Go to the host list
⌘2–⌘9Ctrl Shift 2–9Go to an open tab
⌃⇥ / ⌃⇧⇥Ctrl Tab / Ctrl Shift TabNext / previous tab
⌘] / ⌘[Ctrl Shift ] / [Next / previous pane
⌥⌘ICtrl Shift IType into every pane of the tab
→ / ⌥→→ / Ctrl →Accept an autosuggestion / its next word
⌘= ⌘- ⌘0Ctrl = Ctrl - Ctrl 0Zoom in / out / reset
⌘,Ctrl ,Settings
⌘BCtrl Shift BShow / hide the sidebar

Every shortcut can be changed in Settings → Keyboard shortcuts.

Questions

How much does it cost?

Nothing. K-Shell is open source under the MIT license, and every feature is available to everyone.

Can I use it with my existing SSH setup?

Yes. Use Import on the Hosts page to bring in ~/.ssh/config. K-Shell also tries your ssh-agent and the default keys in ~/.ssh, and it respects ~/.ssh/known_hosts.

Can I sync hosts between computers?

There's no automatic sync. Export an encrypted backup in Settings and restore it on the other computer.

Do I need an account?

No. The app never asks for one, and downloads don't need one either. The optional Google sign-in on this page is only for release emails. See the privacy policy.

How can I help?

Bug reports, fixes and translations are all welcome. The contributing guide explains how to build and test K-Shell.

Try it

Download K-Shell

An open-source project by keselyoleren, built with Rust and Tauri. Source code and issues are on GitHub.