Skip to Content

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.