Deploy Sshwifty

Web SSH and Telnet client in your browser, protected by a shared password

Deploy Sshwifty

Deploy and Host Sshwifty on Railway

Sshwifty is an open-source web SSH and Telnet client. It runs as a small Go server with a browser front end, so you can open terminal sessions to your servers from any web browser without installing an SSH client. Access to the web interface is protected by a shared password.

About Hosting Sshwifty

Hosting Sshwifty means running one lightweight web service that accepts browser sessions over WebSockets and opens the SSH or Telnet connections on your behalf. It keeps no data of its own, so it needs no database or volume. What matters is access control: anyone who can use the web interface can reach any host the server can reach. This template builds Sshwifty 0.4.12 from a pinned official image, serves it on a Railway HTTPS domain, generates a random access password, and refuses to start without one. Railway also handles TLS, restarts and health checks for you.

Common Use Cases

  • Reach your SSH servers from a locked-down laptop, tablet or a browser where you can't install an SSH client
  • Give a small team a shared, password-protected web terminal to a known list of hosts using presets
  • Connect to legacy devices and network equipment that only speak Telnet, through a browser

Dependencies for Sshwifty Hosting

  • Sshwifty web service (official niruix/sshwifty image, built from the template repo)
  • SSH or Telnet servers you want to connect to, reachable from Railway

Deployment Dependencies

Implementation Details

After the deploy finishes, open the service's public URL and enter the access password. Railway generated it as SSHWIFTY_SHAREDKEY; you can read or change it in the service's Variables tab (redeploy after a change).

Optional settings you can add as variables:

  • SSHWIFTY_PRESETS: a JSON list of saved remotes shown under "Known remotes". It is sent to the browser unprotected, so never put secrets in it.
  • SSHWIFTY_ONLYALLOWPRESETREMOTES=true: together with presets, blocks connections to any other host.
  • SSHWIFTY_SOCKS5, SSHWIFTY_SOCKS5_USER, SSHWIFTY_SOCKS5_PASSWORD: connect to remotes through a SOCKS5 proxy.
  • SSHWIFTY_SERVERMESSAGE: a short message on the home page.

Sshwifty can also reach services on your Railway project's private network (for example YOUR-SERVICE.railway.internal), so keep the password secret.

Why Deploy Sshwifty on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Sshwifty on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
52