Skip to content

FilipooSVK/ssh_activation_ct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🔐 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

About

Script for activation of SSH for CT in Proxmox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages