Skip to Content

How to reset cluster keys in ezeelogin Master-slave Configuration ?

How to reset the cluster key in order to use RSA key ?

Regenerate cluster key

You need to reinstall secondary/slave (cluster) node after resetting the cluster key 

  

1.Enter the following command to reset cluster key on Primary(master) ezeelogin.

root@jumpserver:~# /usr/local/ezlogin/eztool.php -regenerate_cluster_key

   This will change the dsa key to rsa as well.
 

The cluster key is located at /usr/local/etc/ezlogin/id_clkey

 
2. Uninstall on ezeelogin on secondary /slave.
 
  Enter the following command to Uninstall Ezeelogin

root@jumpserver:~# /usr/local/sbin/uninstall_ezlogin.php

3. Install ezeelogin secondary /slave node
 

  Execute the following command

root@jumpserver:~# sh ezlogin_7.x.x.bin -- -secondary -othernode <ip_address of master node>

   Refer this article to install Secondary/slave node