Unable to open ssh session

I get the error "Unable to open session" while trying to ssh?

1. Ensure that selinux is disabled the remote / target host.
2. Ensure that selinux is disable on the ssh gateway box as well.

You may set selinux to disabled in /etc/selinux/config.
The command sestatus should return 'disabled' as the result.


if this is still unresolved, check for error messages in /var/log/secure , /var/log/messages, /var/log/audit/audit.log
Check for errors in /home/username/ezsh.log on ssh jumphost.

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    404 error on login with nginx
    Viewed 2052 times since Wed, Jun 14, 2017
    PHP extension ’mcrypt’ is required.
    Viewed 3598 times since Wed, Jun 14, 2017
    Could not setup Ezeelogin Web SSH service in ssh jumphost
    Viewed 748 times since Fri, Feb 16, 2018
    Blank page when clicking add server
    Viewed 1503 times since Wed, Aug 16, 2017
    User could not be found on the system:: No error information
    Viewed 197 times since Thu, May 30, 2019
    Error occured. Please contact the administrator - Permission Denied - creation failed
    Viewed 1389 times since Thu, Jun 15, 2017
    ’Failed to establish SSH session ’
    Viewed 1217 times since Fri, Jun 22, 2018
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 818 times since Fri, Aug 10, 2018
    Disable two factor authentication (2FA Google, Yubikey , Access Keyword, DUO)
    Viewed 5187 times since Thu, Jun 15, 2017
    Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session
    Viewed 543 times since Thu, Sep 6, 2018