Custom private key / public key pair in ssh gateway Solution

1.How do I use my custom private/public Key pair to be used as the Global Public key which would be copied over to new servers that i add?

2.How do i change the default Global Public key( Servers->Global Key ( SSH public Key) being used in Ezeelogin by default to logon to servers added in using the        default key?

3.How do i change the default SSH Public Key under Servers->Global Key 

This is how you do it for a fresh installation.

You would need to generate your own 4096 bit RSA Keys using ssh-key gen

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.

Run the ezeelogin installation package with the following option.

      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

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

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

 

To change the key pair in an already existing installation, refer Change default Public/Private Key pair in use. This feature is available only in Ezeelogin Version 7.3.6 and above.

 

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    add amazon ec2 in jump server or aws jumpbox
    Viewed 2943 times since Tue, May 8, 2018
    How can i add more than one public key to ezeelogin user ?
    Viewed 1589 times since Wed, Oct 18, 2017
    Configure Ezeelogin to authenticate using Windows_AD(Pam-Ldap) in ubuntu?
    Viewed 2544 times since Wed, Feb 7, 2018
    How do i configure Ezeelogin to authenticate using OpenLdap or Window AD server?
    Viewed 2415 times since Wed, Jan 24, 2018
    How do i change the authentication from ldap to internal in the database?
    Viewed 1599 times since Thu, Jun 15, 2017
    How can i disable MySQL strict mode ?
    Viewed 1756 times since Tue, Feb 12, 2019
    Default outbound ssh port for target servers added in
    Viewed 1561 times since Thu, Dec 21, 2017
    How to enable google 2FA (Two factor Authentication) in ezeelogin ?
    Viewed 3479 times since Mon, Oct 9, 2017
    How do i configure Ezeelogin to authenticate using Windows_AD(Pam-Ldap) in centos?
    Viewed 3215 times since Wed, Feb 7, 2018
    How To Create a Self-Signed SSL Certificate for Nginx on debian
    Viewed 1104 times since Mon, Jun 4, 2018