[SOLVED] Proxmox Cluster Node changed ssh key file

weconnect

Member
May 20, 2020
21
1
8
35
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:

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!