Skip to content

Latest commit

Β 

History

History
94 lines (66 loc) Β· 2.86 KB

File metadata and controls

94 lines (66 loc) Β· 2.86 KB

πŸ” Proxmox Container SSH Enabler

Bash script to automate enabling SSH access inside Proxmox LXC containers.


🧭 Overview

Proxmox Container SSH Enabler is a simple Bash script that automates the process of enabling SSH in Proxmox LXC containers.
It removes the need for manual configuration steps and ensures that the container is properly set up for remote SSH access.


βš™οΈ Features

  • βœ… Enables TTY and Nesting for the container
  • 🧩 Installs and configures OpenSSH Server inside the LXC
  • πŸ” Allows you to optionally add firewall rules for enhanced security
  • ⚑ Fully automated β€” no manual file editing required

πŸš€ Usage

Before running the script, customize the container variables:

container_id=100           # Replace with your container's ID
container_ip=192.168.1.10  # Replace with your container's IP

Then, download and execute the script:

wget https://raw.githubusercontent.com/FilipooSVK/ssh_activation_ct/main/activate_ssh.sh
chmod +x activate_ssh.sh
./activate_ssh.sh

🧩 The script will automatically

  • βœ… Enable SSH access in the selected container
  • βš™οΈ Adjust container configuration (TTY, Nesting)
  • πŸ”₯ Optionally create firewall rules

🧱 Requirements

  • πŸ–₯️ A running Proxmox VE host
  • 🧩 Existing LXC container
  • πŸ”‘ Sufficient permissions to modify and restart containers

πŸͺͺ License

This project is licensed under the MIT License.

MIT License


🏷️ Tags

🧠 Created with ❀️ by FilipooSVK