Ubuntu SSHD

šŸš€ Deploy and Host Ubuntu SSHD in a few clicks.

Deploy Ubuntu SSHD

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

  1. Deploy to Railway
  2. Configure SSH credentials via Railway environment variables:
    • SSH_USERNAME - Your desired username
    • SSH_PASSWORD - Your desired password
    • AUTHORIZED_KEYS - SSH public keys for key-based auth (optional)
  3. TCP Proxy Domain and Port in Railway Settings → Networking
  4. Connect via SSH using provided domain and port

Environment Variables

  • SSH_USERNAME - SSH username
  • SSH_PASSWORD - SSH password
  • AUTHORIZED_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

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

View Template
peppermint
Docker-compose port for peppermint.sh