Enabling Default SSH Root Access in Proxmox VE: Seeking Solutions for Seamless LXC Server Deployments

Ericschmidt

New Member
Nov 10, 2023
1
0
1
Hello, does anyone know how to set the SSH root access to allow by default on our Proxmox VE? We would like to provide customers ordering an LXC server the option to log in via root SSH immediately after the order. Currently, we have to do this manually in the template for each order. Does anyone have a solution?
 
Hi,
I suppose you are already using the api to automate the deployment of your customers servers. The endpoint for creating a container allows you to set ssh-public-keys as a parameter, that gets set for the root user. For the full api of your PVE installation you can visit <your instance url>/pve-docs/api-viewer/index.html#/nodes/{node}/lxc