SSH Keys host node

joeleo

Active Member
Apr 24, 2009
51
1
26
Hi, I'm noticing a ssh key being inserted automatically inside the host node and wanting to know how/why is it? I have created and added my own keys BUT I'm also seeing an additional key being inserted. I delete it and it comes back again. Any advise/suggestions how to fix or resolve this. Could proxmox be doing this?
 
Hi,

inside a cluster the ssh known_host file and the root authorized_keys always includes all other nodes public keys and info, to allow things like migration.
Further, the nodes own keys is always added, even on a single node "non cluster", so that on cluster join it can be already used immediately.
This is checked on each start of the cluster filesystem, so normally on every boot or upgrade of that filesystem package.

You can see that some ssh related files are linked to the clustered configuration filesystem:
Code:
ls -l /etc/ssh/
ls -l /root/.ssh/
 

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!