Regenerate Serve d ID

Mar 19, 2022
3
1
6
49
Dear All,

i have clone the Proxmox mail gateway server .
The problem is that has the same server id which i need to change it (regenerate a new one ) to proceed with another subscription .
Cannot find how to change the server id up to now .
Any help would be appreciated .
 
  • Like
Reactions: aj@root
Hi,
as far as I can tell, you need to regenerate the SSH host keys and then restart pmgdaemon.service and pmgproxy.service.
 
Dear Fabian,

you are more than correct .

The Served ID changed after running the below commands.

# /bin/rm -v /etc/ssh/ssh_host_*
# dpkg-reconfigure openssh-server
# sudo systemctl restart ssh

Thank You.