Thursday, October 21, 2010

X11 display forwarding and ssh_config

Error message

Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Remote: X11 forwarding disabled in user configuration file.
PTY allocation request failed on channel 0

Because under /private/etc/ssh_config you have ForwardX11 yes enabled. Disable this
for ssh.

Display forwarding when you want x11 access to a remote machine, set the DISPLAY environment var:

$ DISPLAY=localhost:0.0
$ export DISPLAY

No comments:

Post a Comment