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
    Integrate Okta SSO with jumpserver
    Viewed 1011 times since Fri, Aug 9, 2019
    Setting in web panel when SSH Daemon is listening on non standard ports.
    Viewed 2334 times since Thu, Dec 21, 2017
    How to configure Yubikey two factor authentication in ssh ?
    Viewed 7193 times since Thu, Jun 15, 2017
    Configure Ezeelogin to authenticate using Windows_AD(Pam-Ldap) in ubuntu?
    Viewed 3690 times since Wed, Feb 7, 2018
    How can i reset the default global key ?
    Viewed 1312 times since Fri, Jun 8, 2018
    Enable or Disable or force ssl for the web interface
    Viewed 3360 times since Thu, Jun 15, 2017
    How to bypass the group menu in the backend shell and go directly to the entire server listing?
    Viewed 2654 times since Tue, Mar 27, 2018
    Integrate Red Hat IDM in Ezeelogin jump server
    Viewed 323 times since Thu, Jan 14, 2021
    How do i change the web url / uri of my installation?
    Viewed 2713 times since Thu, Jun 15, 2017
    add amazon ec2 in jump server or aws jumpbox
    Viewed 4387 times since Tue, May 8, 2018