/etc/pve/priv/authorized_keys

adfs1

Member
May 20, 2014
5
0
21
Hello!

I had a well configured 4 node pve cluster, but I overwrited the /root/.ssh/authorized_keys file (on all the 4 pve nodes), which is sym link to /etc/pve/priv/authorized_keys.
Can I reproduce the /etc/pve/priv/authorized_keys file?

Thanks,
 
Thanks for Your answer!
But I wonder, where I can find the public keys? I try to add all node's /etc/pve/authkey.pub and /etc/ssh/ssh_host_rsa_key.pub to the all node's authorized_keys file, but no success. Which public keys are used by cluster for the ssh tunel?
 
Oh! I find the solution :D!
The root's .ssh folder contain the private-public key pair.
I just copied from all node's /root/.ssh/id_rsa.pub file to the /root/.ssh/authorized_keys file, and everything works ok!

Thanks!
 

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!