"An error occurred. Please contact administrator." - got error while trying to access remote server from jump server

"An error occurred. Please contact administrator." - Error in ssh shell while accessing remote server from ezeelogin bastion host.

Looks for errors in the /home/{username}/ezsh.log. As you can see the user is unable to write the ssh sessions into the directory /var/log/ezlogin/

root@jumpserver:~# tail -f /home/{username}/ezsh.log

SSH log file (/var/log/ezlogin/full/john/master~auto-test-01.master.eznoc.com~Mon_May_9_12:09:12_2018) creation failed: Permission denied

SSH log file (/var/log/ezlogin/full/john/master~auto-test-01.master.eznoc.com~Mon_May_9_22:18:38_2018) creation failed: Permission denied

SSH log file (/var/log/ezlogin/full/john/master~auto-test-01.master.eznoc.com~Mon_May_9_22:38:25_2018) creation failed: Permission denied

 

Fix the log permission by executing the following command

root@jumpserver:~#/usr/local/ezlogin/eztool.php -fix_log_permissions

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    vzctl enter veid fails. Unable to get term attr: Invalid argument
    Viewed 2938 times since Wed, Jun 14, 2017
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 2387 times since Wed, Jun 14, 2017
    Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session
    Viewed 1592 times since Thu, Sep 6, 2018
    NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
    Viewed 4918 times since Fri, Feb 2, 2018
    PHP extension ’mcrypt’ is required.
    Viewed 6061 times since Wed, Jun 14, 2017
    ssh session slow and not responsive
    Viewed 2810 times since Thu, Jun 15, 2017
    Internal browser error: Failed to launch the browser process!
    Viewed 200 times since Wed, Nov 11, 2020
    main admin user account suspended after entering incorrect security code
    Viewed 3447 times since Wed, Jun 14, 2017
    ERROR db user: Incorrect datetime value: ’0000-00-00 00:00:00’ for column ’expiry’ at row 1
    Viewed 2416 times since Tue, Feb 12, 2019
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 2280 times since Fri, Aug 10, 2018