Skip to Content

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

Encountering "An error occurred. Please contact administrator." in SSH Shell When Accessing the Remote Server from the Ezeelogin Bastion Host


Overview: This article describes an error that typically arises due to permission issues when writing SSH sessions to the directory /var/log/ezlogin/. The solution involves checking the /home/<username>/ezsh.log for specific errors and fixing log file permissions using a command provided by Ezeelogin.


1. Look for errors in the /home/{username}/ezsh.log.

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

2. Fix the log permission by executing the following command in your gateway server:

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


Related Articles:

Unable to open a session.

An error occurred while accessing the parallel shell.