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
    Setting session time out for the webinterface
    Viewed 3239 times since Wed, Jun 14, 2017
    Integrate OneLogin SSO with jumpserver
    Viewed 736 times since Wed, Aug 14, 2019
    How to search using IP or other fields instead of host name in jump server ssh interface or gui?
    Viewed 1742 times since Fri, May 4, 2018
    How to add ssh public key for passwordless authentication in ssh
    Viewed 3013 times since Fri, Sep 1, 2017
    Configure Ezeelogin to authenticate using Windows_AD(Pam-Ldap) in ubuntu?
    Viewed 3070 times since Wed, Feb 7, 2018
    Configure Nginx webserver on Jump server / Bastion host
    Viewed 7753 times since Fri, Nov 3, 2017
    configure jump server to use SSL for MySQL
    Viewed 3019 times since Mon, Apr 30, 2018
    How do i change the authentication from ldap to internal in the database?
    Viewed 1868 times since Thu, Jun 15, 2017
    Set SSH User Expiry
    Viewed 1756 times since Thu, Sep 20, 2018
    Setting to be changed when sshd is listening on a custom port instead of default port in the ssh jumphost server
    Viewed 1737 times since Sat, Mar 10, 2018