Showing posts with label ssh log in not possible. Show all posts
Showing posts with label ssh log in not possible. Show all posts

Friday, May 16, 2014

X11 connection rejected because of wrong authentication

If you are not able to log into Linux user account using ssh and you are getting this error, here is the solution.

Open the file etc/ssh/ssh_config on your system , client side (NOT on the server where you want to connect)

Check this parameter in the file
ForwardX11 yes
It should be uncommented as well as set as yes.

Restart ssh on your system. Try to connect again.

If you are still getting this error, open the file /etc/ssh/sshd_config server side where you want to connect.

Check this parameter in the file
X11Forwarding yes
It should be uncommented as well as set as yes.