SSH key for root login, can it be done the regular way?

scurrier

Active Member
Sep 9, 2017
14
2
43
72
I'd like to set up an SSH key for root login. Can I just do this in the regular way by editing the `authorized_keys` file and setting the sshd_config file to not permit password? Or does this risk violating the expectations of the Proxmox engine and causing errors?
 
yeah, that works. the only thing in PVE that uses password based auth is joining a node to an existing cluster using SSH (which is the non default mode, the default one goes over the API).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!