"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
    Unable to add server using putty private key key pair. How to convert PPK file OpenSSH format
    Viewed 5377 times since Thu, Jun 15, 2017
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 12394 times since Tue, Jan 30, 2018
    LICENSE: ERROR 1032
    Viewed 435 times since Sat, Nov 7, 2020
    No Two-factor Authentication configured. Contact Administrator
    Viewed 69 times since Tue, Feb 2, 2021
    Why does the ssh log have control characters and looks different from the actual input?
    Viewed 2582 times since Thu, Jun 15, 2017
    usernames already exists
    Viewed 833 times since Fri, Mar 15, 2019
    Error while logging with saml credentials
    Viewed 244 times since Fri, Sep 25, 2020
    Unable to ssh / An error occurred. Please contact administrator /
    Viewed 2857 times since Thu, Jun 15, 2017
    unable to start mysql in ubuntu 14 " logger command not found"
    Viewed 3310 times since Thu, Jun 15, 2017
    keep getting logged out while trying to web gui in firefox and safari but login into the web interface via chrome works fine
    Viewed 2232 times since Wed, Sep 27, 2017