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
    How do i disable google 2 factor authentication or other 2factor mechanisms?
    Viewed 4596 times since Wed, Jun 14, 2017
    unable to ssh because ip not allowed because none of user’s groups are listed in AllowGroups
    Viewed 10017 times since Thu, Jun 15, 2017
    Install not allowed on this server
    Viewed 131 times since Fri, Mar 20, 2020
    ’Failed to establish SSH session ’
    Viewed 2252 times since Fri, Jun 22, 2018
    User add failed: Error waiting for connection: Cannot add user on this node: Could not connect
    Viewed 2042 times since Wed, Jun 14, 2017
    An error occurred while trying to submit the form
    Viewed 170 times since Tue, Feb 25, 2020
    Can we map existing user group in ldap to ezeelogin as ezeelogin user group ?
    Viewed 3901 times since Mon, Sep 25, 2017
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 20550 times since Wed, Jun 14, 2017
    The IP field must contain a valid public IP or how to install Ezeelogin on a machine in lan
    Viewed 3392 times since Wed, Jun 14, 2017
    usernames already exists
    Viewed 493 times since Fri, Mar 15, 2019