20 hours ago
We've had SSH support for a while, but the old implementation was a custom protocol the Railway team built over a WebSocket relay. It worked, but it also meant a bunch of standard SSH features just didn't.
The new implementation is a standard SSH connection. Anything that speaks SSH speaks Railway: your existing ssh client, ~/.ssh/config entries, ProxyJump, port forwarding, SCP, SFTP, and identity files all work the way you'd expect.
To get started:
1. Generate a key pair locally
2. Upload the public key on the SSH keys page
3. Connect by running ssh <service-domain>@ssh.railway.com
Alternatively, you can use the Railway CLI. From the dashboard, right-click a service and select Copy SSH command to drop it straight into your terminal. (Make sure you're on the latest version by running railway upgrade first).
Check out the railway ssh docs, and if you run into any issues, please let us know in this thread 🙏🏼
0 Threads mention this feature
0 Replies