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#[email protected]@

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
    Configure Nginx webserver on Jump server / Bastion host
    Viewed 3083 times since Fri, Nov 3, 2017
    How to configure Yubikey two factor authentication in ssh ?
    Viewed 3311 times since Thu, Jun 15, 2017
    How To Create a Self-Signed SSL Certificate for Nginx on debian
    Viewed 557 times since Mon, Jun 4, 2018
    Set SSH User Expiry
    Viewed 640 times since Thu, Sep 20, 2018
    How to bypass the group menu in the backend shell and go directly to the entire server listing?
    Viewed 892 times since Tue, Mar 27, 2018
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 3815 times since Tue, Jan 30, 2018
    How to find a server by its hostname, ip address, very quickly in ezsh shell
    Viewed 847 times since Tue, Mar 27, 2018
    How to install ssl certs in jump server(secure connection) ?
    Viewed 967 times since Mon, Apr 30, 2018
    Add a server using ssh key pair in ezeelogin
    Viewed 29 times since Fri, Mar 22, 2019
    How do i configure Ezeelogin to authenticate using Windows_AD(Pam-Ldap) in centos?
    Viewed 1702 times since Wed, Feb 7, 2018