Ubuntu SSHD
š Deploy and Host Ubuntu SSHD in a few clicks.
railway-ubuntu-sshd
georgebrnv/railway-ubuntu-sshd
Just deployed
Deploy and Host
Deploy an Ubuntu 22.04 container with SSH server access on Railway. This template provides a secure SSH environment for remote development, system administration, and container management tasks.
About Hosting
This Docker image creates an Ubuntu 22.04 environment with OpenSSH server pre-configured for Railway deployment. Access your container remotely via SSH through Railway's TCP proxy feature for full terminal control.
Why Deploy
- Remote Development: Access a full Ubuntu environment from anywhere
- System Administration: Manage containers with full shell access
- Testing Environment: Quickly spin up disposable Ubuntu instances
- Learning Platform: Practice Linux commands and system administration
Common Use Cases
- Remote development and coding
- System administration training
- Container debugging and troubleshooting
- Quick Ubuntu environment for testing
- Command-line tool development
- Educational Linux environments
Dependencies for
Deployment Dependencies
- Docker runtime (provided by Railway)
- OpenSSH server
- Ubuntu 22.04 base image
- Network utilities (ping, telnet, iproute2)
Quick Setup
- Deploy to Railway
- Configure SSH credentials via Railway environment variables:
SSH_USERNAME
- Your desired usernameSSH_PASSWORD
- Your desired passwordAUTHORIZED_KEYS
- SSH public keys for key-based auth (optional)
- TCP Proxy Domain and Port in Railway Settings ā Networking
- Connect via SSH using provided domain and port
Environment Variables
SSH_USERNAME
- SSH usernameSSH_PASSWORD
- SSH passwordAUTHORIZED_KEYS
- SSH public keys for key-based auth (optional)
Security Features
- Root login disabled by default
- User has sudo permissions
- SSH key authentication support
- Password authentication configurable
Important Notes
ā ļø Data Loss Warning: Railway containers are ephemeral. All data is lost on redeploy. Use Railway Volume Mounts for persistent storage.
Connect via SSH
ssh {username}@{domain} -p {port}
Example:
ssh [email protected] -p 30899
Template Content
railway-ubuntu-sshd
georgebrnv/railway-ubuntu-sshdSSH_PASSWORD
SSH_USERNAME