[SOLVED] Proxmox Cluster Node changed ssh key file

weconnect

Well-Known Member
May 20, 2020
52
12
48
37
Hello...

i made a bad thing on one of our Proxmox servers in a cluster.. i accidentaly changed the ssh key file

root@ram:/etc/ssh# ssh-keygen -t rsa -b 4096 -f ssh_host_rsa_key

now it cant connect to the vms via console.. how do we fix that issue? or is it a reinstall that is req? :(

EDIT:

from the affected host ram i can access the servers on it but not from any other servers.. so the vms are fine but my guess is that the other servers cant gain access becouse it changed... how do i fix that? :p

EDIT 2:

Fixed it by doing

mv /root/.ssh/known_hosts /root/.ssh/known_hosts_old

and then connected from each node.

like this

ram: ssh abba accepted the key
ram: ssh abba.domain.com
ram: ssh 000.000.000.000

same thing from abba but ram instead of abba.. :) Thanks for the comunity to help me get this fixed :)

Threads that helped me:

https://forum.proxmox.com/threads/migration-issue-after-replacing-a-node.13968/

Remember folks think before you act :p
 
Last edited: