SteepyTunnelDownload for Mac

Guide

SteepyTunnel Guide

How to use SteepyTunnel, from the first launch to Shortcuts. Menu and button names are the app’s. The pictures are illustrations drawn with sample data.

First launch

You need macOS 27 or later on a Mac with Apple Silicon. Open SteepyTunnel.dmg and drag SteepyTunnel to the Applications folder.

At the first launch the terms of use appear: check both boxes and choose “Accept”. Until you accept them, SteepyTunnel does nothing else.

Then the welcome window offers “Import from SSH Config…”, if you have a ~/.ssh/config, “New Tunnel…”, notifications and opening at login. “Continue” opens the main window.

SteepyTunnel stays in the menu bar when you close the window.

Create and edit a tunnel

Press ⌘N, or the + in the window’s toolbar. The new tunnel appears at the top of the list, with the cursor in its name and a local forward ready.

Under the name, write the user, the server and the port. “Server” takes a name, an address or an alias from ~/.ssh/config. Empty fields leave the choice to ssh and to ~/.ssh/config, and their grey text shows what ssh will use.

You edit a tunnel right in its detail. The first change brings “Unsaved Changes” on top, with “Save” (Return) and “Cancel” (Esc). When the tunnel is connected there is “Save and Reconnect”. Unsaved changes stay with their tunnel, marked by a pencil in the list. If you quit before saving them, SteepyTunnel asks first.

“Advanced” holds the rest, and shows a summary when it’s closed:

  • “Jump Hosts”, “Private Key” and “Certificate”;
  • “Tags”, “Pin to the top and the menu bar” and “Note”;
  • “Connection”: “Connect when SteepyTunnel opens” and “Reconnect after failures”, with its “Attempts”;
  • “Log File”, to also write ssh’s messages to a file;
  • “SSH Options”, the options of ssh_config picked from a list. The ⓘ button next to each option shows its entry in the OpenSSH manual. An orange shield marks those that run a program on this Mac.

To start from an existing tunnel, use “Duplicate” in the right-click menu.

Forwards

A forward links a port on one side of the tunnel to a service on the other. The “Local” button, with the +, adds a local forward; “Other” adds the other kinds:

  • “Local”: a port on this Mac that leads to a service the server can reach, for example a database the server sees and the Mac doesn’t;
  • “Remote”: a port on the server that leads to a service this Mac can reach;
  • “SOCKS on This Mac”: a proxy on this Mac, and connections leave from the server;
  • “SOCKS on Server”: a proxy on the server, and connections leave from this Mac.

Each forward is one row: where it listens, an arrow, where it leads. Below it, a sentence says what it does. An empty destination address means localhost, and if you paste 10.0.4.12:1521 SteepyTunnel splits the address and the port.

The kind menu, at the start of the row, also sets “Who Can Connect”: “Localhost Only”, “Whole Network”, “Specific Address…” or, for local and remote forwards, “Unix Socket”. The “On” checkbox turns a forward off without removing it.

Next to the forwards that listen on a port of this Mac there’s a button that copies the address, for example localhost:15432. While the tunnel is connected, local forwards also have one that opens it in the browser.

Import and export

If you already use ~/.ssh/config, choose File › “Import from SSH Config…”. It lists the config’s hosts, with those that have forwards already selected. Each host becomes a tunnel that uses its alias, and ssh keeps reading its settings and forwards from ~/.ssh/config.

Aliases only work with “Read ~/.ssh/config” on, in Settings › SSH. If it’s off, the import sheet says so and turns it on with “Turn On”.

To take your tunnels to another Mac:

  • “Export…”, in the right-click menu, saves the selected tunnels; “Export All…”, in Settings › Tunnels, saves all of them. The files hold the tunnels’ settings, never passwords or keys.
  • On the other Mac, double-click the file, or use “Import…” in Settings › Tunnels. Imported tunnels don’t connect at launch until you choose so.
  • If a tunnel in the file runs programs on this Mac when it connects, SteepyTunnel says so first: import it only if you trust who made the file.

Connect and reconnect

The switch next to each tunnel connects and disconnects it. The detail has “Connect” (⌘Return). The Tunnels menu has “Connect All” (⇧⌘K) and “Disconnect All” (⇧⌘D), and right-clicking a tag connects or disconnects just its tunnels.

A tunnel is “Connected” when ssh has started the session and the server has accepted its remote forwards.

If the connection drops, SteepyTunnel retries on its own: after 3 seconds, then waiting twice as long each time, up to a minute. The detail shows the countdown and “Try Now”. When the network comes back, waiting tunnels retry at once; when the Mac wakes, every tunnel that is on reconnects.

When waiting can’t help, SteepyTunnel doesn’t retry: a refused key or password, a server you didn’t confirm, a port already in use on this Mac. The tunnel goes to “Failed” and the red banner says why.

With notifications on, in Settings › General, SteepyTunnel tells you when a tunnel connects, drops or fails. When you quit the app, every tunnel closes.

Passwords and the server’s key

When ssh needs a password or a key passphrase, SteepyTunnel asks you. With “Remember in Keychain”, checked by default, it saves it in the macOS Keychain and doesn’t ask again.

The first time you connect to a server, SteepyTunnel asks whether to trust it and shows its key’s fingerprint. Check that it matches the server’s, then choose “Trust and Connect”.

If the server’s identity changes, the tunnel stops and says so. If you didn’t expect it, someone may be intercepting the connection. If the change is expected, remove the old entry from known_hosts: Settings › SSH › “Known hosts” › “Show in Finder”.

To forget a saved password, open “Advanced”: each password has its row, with “Forget”. When you delete a tunnel permanently, its passwords go too.

Session, command and log

While a tunnel is connected, “Session” shows the server, how you signed in, the key exchange, the encryption and the server’s key.

“SSH Command” is the same tunnel written as a command for Terminal. Copy it with its button, or with “Copy SSH Command” in the right-click menu.

“Log” shows ssh’s messages, as ssh writes them. “Details” adds the debug lines. Next to it are the buttons to copy and clear the log.

Pins, tags and the menu bar

“Pin”, in the right-click menu, puts a tunnel at the top of the list and of the menu bar menu.

Tags group tunnels. Set them with right-click › “Tags”, or in “Advanced”, separated by commas. Each tag appears in the sidebar, and right-clicking a tag renames it, deletes it, or connects and disconnects its tunnels.

The menu in the menu bar has a switch for each tunnel, pinned ones first, up to 20. Below are “Connect All”, “Disconnect All”, the “Tags” submenu, “Open SteepyTunnel” and “Settings…”. If you turn off “Show in the Dock”, in Settings › General, SteepyTunnel lives only in the menu bar and the window opens from there.

“Move to Trash” puts a tunnel in “Recently Deleted”. It stays there for 30 days: you can restore it or delete it permanently.

Shortcuts and AppleScript

In Shortcuts, SteepyTunnel has three actions: “Connect Tunnels”, “Disconnect Tunnels” and “Get Tunnel Status”. “Connect Tunnels” waits up to 20 seconds for the tunnels to be up or to fail, so the next step finds them ready.

With AppleScript you connect and disconnect tunnels and tags, and read their state:

tell application "SteepyTunnel"
    connect tunnel "Production Postgres"
    connect tagged "Staging"
    get {state, last error} of tunnel "Production Postgres"
    disconnect every tunnel
end tell

Shortcuts and AppleScript work once you have accepted the terms of use.

Settings

Open them with “Settings…” (⌘,), from the app menu or the menu bar.

  • “General”: “Language”, which applies when the app relaunches (“Relaunch Now” does it at once), “Open at login”, “Show in the Dock”, notifications and updates.
  • “SSH”: “Read ~/.ssh/config”, on by default. Hosts, keys and options from ~/.ssh/config also apply to tunnels, but a tunnel’s own settings come first. Here are also the ssh version and “Known hosts”.
  • “Tunnels”: import, export and the folder where SteepyTunnel keeps the tunnels.

Updates

Once a day SteepyTunnel checks for a new version. The switch is in Settings › General › Updates, and “Check for Updates…” checks right away.

When there’s a new version its window appears, and the menu bar keeps “Install Update…” until you look at it. SteepyTunnel never updates on its own: one click installs the new version and reopens the app. Connected tunnels disconnect; those set to connect at launch come back by themselves.

Keyboard shortcuts

  • ⌘N: new tunnel.
  • Return and Esc: save and cancel the tunnel’s changes.
  • ⌘Return: connect or disconnect the tunnel in the detail.
  • ⇧⌘K and ⇧⌘D: connect and disconnect every tunnel.
  • ⌘,: settings.
  • ⌘Q: quit SteepyTunnel and close the tunnels.

Help and problems

From version 1.1.1, in the Help menu:

  • “SteepyTunnel Help” (⌘?) opens this guide;
  • “Report a Problem…” starts an email to info@steepy.it with the versions of the app, macOS and ssh. If you use webmail, “Copy Address” copies the address.

Tell us what happened and what you were doing just before. A tunnel’s log helps, but read it before sending, because it shows your servers and users. Never send passwords or private keys.

Without the Dock icon the Help menu isn’t shown: “Report a Problem…” is also in the menu bar menu.

Uninstall

Quit SteepyTunnel and move the app to the Trash. To remove its data too, delete the folder ~/Library/Application Support/com.steepy.steepytunnel and, in Keychain Access, the items whose names start with “SteepyTunnel:”.