Deploy Kali Linux (Web Terminal)
Instant Kali Linux browser terminal powered by ttyd
Kali Linux (Web Terminal)
Just deployed
/data
Deploy and Host Kali Linux (Web Terminal) on Railway
This template provides a one-click Kali Linux web terminal running on Railway, giving you instant browser-based access to the world’s most popular penetration testing distribution, without managing servers or SSH keys. Kali Linux is a Debian-based operating system built for penetration testing, ethical hacking, digital forensics, and security research.
About Hosting Kali Linux (Web Terminal)
Deploying Kali Linux (Web Terminal) on Railway uses the official kalilinux/kali-rolling Docker image in a lightweight, containerized environment. Railway handles orchestration, networking, and scaling, delivering a ready-to-use Kali Linux shell with minimal setup.
A persistent volume is mounted at /data to retain installed tools, scripts, configurations, and collected artifacts across redeployments and restarts. This provides an on-demand, cloud-hosted Kali Linux environment ideal for security testing, labs, and isolated experimentation.
Common Use Cases
- Penetration testing and ethical hacking labs
- Red team and blue team security exercises
- Digital forensics and incident response testing
- Running Kali security tools, scripts, and custom workflows
- Learning and training in cybersecurity and offensive security
How Access Works
- Access the Kali Linux shell directly from your browser
- Secured with basic authentication
- Powered by ttyd, providing a real interactive terminal
- Fully compatible with Railway’s dynamic port routing
Dependencies for Kali Linux (Web Terminal) Hosting
Environment Variables
Configure the following variables in the Railway dashboard:
-
USERNAMEChoose a username used to log in to the web-based terminal. -
PASSWORDChoose a password used to log in to the web-based terminal.
Deployment Dependencies
- Official Kali Linux Docker image:
kalilinux/kali-rollinghttps://hub.docker.com/r/kalilinux/kali-rolling - SSH: Railway CLI for proxy access and diagnostics https://docs.railway.app/guides/cli#ssh
SSH Usage (Optional)
Prerequisites
- Railway CLI installed on your local machine
- Logged in with your Railway account using
railway login
Usage
You can copy the exact command directly from the Railway dashboard:
- Open your project in the Railway dashboard
- Right-click the Kali Linux service
- Select “Copy SSH Command”
- Paste the command into your local terminal to connect
Why Deploy Kali Linux 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 Kali Linux (Web Terminal) 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
Kali Linux (Web Terminal)
decoge/kali-linux-webterminal-railwayPASSWORD
Choose a Password for ttyd web terminal basic authentication.
USERNAME
Choose a Username for ttyd web terminal basic authentication.