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