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:
[email protected]:~# 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
[email protected]:~ DEBUG=* CLIENT_DEBUG=* PORT=52222 node /var/www/ezlogin/application/external/webssh/index.js
[email protected]:~ cd /var/www/ezlogin/application/external/webssh/ && npm install