---
title: "Deploy Sshwifty"
description: "Web SSH and Telnet client in your browser, protected by a shared password"
category: "Other"
url: https://railway.com/deploy/sshwifty
---

# Deploy Sshwifty

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

**[Deploy Sshwifty on Railway](https://railway.com/template/sshwifty)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/sshwifty/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Sshwifty https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/sshwifty.png

- **Source:** https://github.com/aalfath/sshwifty-railway-template
- **Health check:** /
- **Public domain:** Yes

## Documentation

# 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

* Sshwifty source and documentation: https://github.com/nirui/sshwifty
* Sshwifty releases: https://github.com/nirui/sshwifty/releases
* Template repo (Dockerfile, changelog, update notes): https://github.com/aalfath/sshwifty-railway-template

### 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.



## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/sshwifty
