Could not setup Ezeelogin Web SSH service

Could not setup Ezeelogin Web SSH service



1. Make sure that "SELINUX" is disabled.

    you can check it by the following command  getenforce/sestatus

       Configure  SELINUX=disabled  in the  /etc/selinux/config   file:

2. Reboot your system. After reboot, confirm that the  getenforce/sestatus  command returns  Disabled :

3. Make sure that you have installed SSL cert for web ssh 

  To ensure ssl for the browser tab that opens up the web ssh console, generate a self-signed cert:

 root@localhost:~# openssl req -new -days 365 -x509 -nodes -newkey rsa:2048 -out /usr/local/etc/ezlogin/tls_cert.pem -keyout /usr/local/etc/ezlogin/tls_key.pem 

You can put a valid ca, cert and key in the files: /usr/local/etc/ezlogin/tls_ca.pem, /usr/local/etc/ezlogin/tls_cert.pem & /usr/local/etc/ezlogin/tls_key.pem respectively. You can rename your current .crt / .key file to .pem file
Check if webserver have access to the key generated above
 4 .Make sure nodejs  is installed on the  jump server.  Refer the article setup web ssh console in ezeelogin and ssh via browser

5. Ensure that you have also installed node modules for web ssh by running the following command

root@localhost:~ DEBUG=* CLIENT_DEBUG=* PORT=52222 node /var/www/ezlogin/application/external/webssh/index.js

root@localhost:~ cd /var/www/ezlogin/application/external/webssh/ && npm install

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    How to fix: “EPROTO” Error after upgrading Node’s version in RDP?
    Viewed 898 times since Wed, May 20, 2020
    Disable two factor authentication (2FA Google, Yubikey , Access Keyword, DUO)
    Viewed 12385 times since Thu, Jun 15, 2017
    "Error: LDAP extension is not installed".
    Viewed 3179 times since Fri, Sep 8, 2017
    Google Recaptcha shutdown issue
    Viewed 1262 times since Tue, Jul 3, 2018
    Token not found in Cpanel/WHM
    Viewed 5556 times since Wed, Jun 14, 2017
    vi editor not working , insert and delete not working in ssh
    Viewed 3474 times since Wed, Jun 14, 2017
    Primary node showing the public ip instead of lan ip when cluster is configured
    Viewed 1080 times since Wed, Nov 21, 2018
    License mismatch! This Ezeelogin was installed with a different license.
    Viewed 358 times since Thu, Jul 16, 2020
    Unable to access Control Panel Error: Error occurred while communicating with the server
    Viewed 3104 times since Thu, Jun 15, 2017
    404 error on login with nginx
    Viewed 4076 times since Wed, Jun 14, 2017