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
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 2281 times since Fri, Aug 10, 2018
    Error: Wrong passphrase or corrupted key
    Viewed 171 times since Mon, Nov 9, 2020
    Jump server ip to be licensed?
    Viewed 2907 times since Thu, Jun 15, 2017
    PHP function ’exec’ is not available.
    Viewed 3143 times since Thu, Jun 15, 2017
    Blank page in GUI and an error in SSH/backed shell ’ license expired!’
    Viewed 2433 times since Wed, Aug 16, 2017
    Unable to open ssh session
    Viewed 3136 times since Thu, Jun 15, 2017
    key_read: uudecode ssh user cant login with ssh key
    Viewed 6619 times since Thu, Jun 15, 2017
    How to fix: “EPROTO” Error after upgrading Node’s version in RDP?
    Viewed 619 times since Wed, May 20, 2020
    Backup Ezeelogin failed during Ezeelogin version upgrade
    Viewed 375 times since Tue, Jul 28, 2020
    Unable to ssh / An error occurred. Please contact administrator /
    Viewed 2721 times since Thu, Jun 15, 2017