Skip to Content

Could not setup Ezeelogin Web SSH service

Web ssh server provides you with a service to manage your servers through a standard browser.

       Error: Could not setup Ezeelogin Web SSH service

1. Make sure that "SELINUX" is disabled.

     Check the status by the following command  getenforce/sestatus

      If it is enabled, then change the config file  in the /etc/selinux/config to SELINUX=disabled

      Reboot your server and confirm by checking the status as disabled.

2. 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 web server have access to the key generated above
3 . Make sure nodejs is installed on the jump server. Refer to this article to set up a web ssh console in ezeelogin and ssh via a standard browser.
4.  After nodejs installation, 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