X11 connection rejected because of wrong authentication

Darren Tucker dtucker at zip.com.au
Mon Apr 18 23:34:25 EST 2005

Graebel, Matthias wrote:

> Hello, I am new at ssh, think it is a simple config problem, but have not
> found the error.
> Wenn I connect from an client (winpc vai cygwin) to server A (hpup) the
> connectionon and xlogo ist okay.
> Wenn I connect from the same client to server B I got the following error
> message.
> The problem is only by starting xlogo, the connection via ssh to Server A+B
> ist okay.
> The sshd_config on server a+b is the same.
> grep -i x11 /usr/local/etc/sshd_config
> X11Forwarding yes
> #X11DisplayOffset 10
> #X11UseLocalhost yes

I've answered this elsewhere, but... depending on the vintage of the HP-UX 
box, you probably need to put
"X11UseLocalhost no" in the server's sshd_config and restart sshd.

See http://www.openssh.com/faq.html#3.12

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list