User add failed

1. User add in your Ezeelogin Web panel prompted with the following error:

"User add failed
 sh: /usr/local/ezlogin/ezcltool: Permission denied"



  Check whether you have enabled SELinux on your server. You can check this by executing the following command.

root@localhost[~]# sestatus
SELinux status: disabled

  Solution :
  Disabling selinux will fix the issue.

Also ensure that the permission of file /usr/local/ezlogin/ezcltool is 755 and that of the directories /usr/local/ezlogin/ , /usr/local and /usr is 751




2. Message: Cannot add user on this node: Authentication by ssh key failed

  Run this command :

cat /usr/local/etc/ezlogin/id_clkey.pub >> /root/.ssh/authorized_keys


3. Error:- User delete failed Cannot delete user on this node: Authentication by ssh key failed

  Solution:

  • Make sure you are able to SSH to localhost as root on the Ezeelogin installed SSH gateway server, Gateway SSH port is set correctly in general settings and that firewall allows connections to ssh port of the servers being added to Ezeelogin.
  • If you are using very old version of Ezeelogin Please uninstall and install new version and try again.
                                        

4. Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session

  Solution:

  • Make sure iptables / firewall is not blocking ssh traffic and make sure SSHD is not blocked in /etc/hosts.allow or /etc/hosts.deny

  • If you are using custom SSHD port in your gateway, then make sure its updated under Settings->Miscellaneous->SSH Gateway Port is set to the current SSHD listening port on the ssh gateway  server.

    gateway ssh port
5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Why does the ssh log have control characters and looks different from the actual input?
    Viewed 2035 times since Thu, Jun 15, 2017
    Blank page in GUI and an error in SSH/backed shell ’ license expired!’
    Viewed 1748 times since Wed, Aug 16, 2017
    Could not connect to database infinite loop on restore
    Viewed 2667 times since Wed, Jun 14, 2017
    " Could not setup Ezeelogin Web SSH service " error
    Viewed 2305 times since Wed, Jan 31, 2018
    Error opening terminal: xterm-256color.
    Viewed 441 times since Wed, Jul 31, 2019
    Jump server ip to be licensed?
    Viewed 2394 times since Thu, Jun 15, 2017
    ERROR db user: Incorrect datetime value: ’0000-00-00 00:00:00’ for column ’expiry’ at row 1
    Viewed 1111 times since Tue, Feb 12, 2019
    User modify failed Cannot modify user on this node: Authentication by ssh key failed
    Viewed 3454 times since Wed, Jun 14, 2017
    PHP extension ’mcrypt’ is required.
    Viewed 4719 times since Wed, Jun 14, 2017
    Could not setup Ezeelogin Web SSH service
    Viewed 2126 times since Sat, Nov 18, 2017