Skip to Content

Using custom private and public keys in Ezeelogin

Can a user use custom private and public keys in Ezeelogin?


Users can add a custom key pair during installation only.  It cannot be changed to a custom key pair after installation.

1. You would need to generate your own 4096-bit RSA Keys using ssh-keygen

root@server:~# ssh-keygen -b 4096 -t rsa -P <enter-strong-pass> -f /root/test-pvt-key

       Generating public/private rsa key pair.
       Your identification has been saved in /root/test-pvt-key.
       Your public key has been saved in /root/test-pvt-key.pub .

2. Run the Ezeelogin installation package with the following option.

root@server:~# sh ezlogin_7.1.6.bin -- -help

      -sshkey : Specify the path of SSH private key to be used. Default: generates new key
      -sshkeypass : Specify the password (if any) for SSH private key. Default: no password

root@server:~# sh ezlogin_7.1.6.bin -- -sshkey /root/test-pvt-key -sshkeypass ads*9s798js0sdf9#$2!sdr@@

3. Complete the installation. The custom public key would be used when new servers are added in and would be visible under Servers -> Global Key

 The private key cannot be decrypted. To get the private key, a new global key pair has to be generated.