Tuesday, May 6, 2008

Delayed login for ssh

I was suffering delays logging in between the head node and cluster nodes. I tried all the usual tricks -- mainly editing /etc/hosts. I tracked the problem down with

ssh -vvv c0-0

which showed that the delay was in xauth. Fine. What I needed to do was turn on ForwardX11Trusted, it was the *Trusted* part that was missing. This can be done with ssh -Y, or by editing /etc/ssh/ssh_config and adding a line

ForwardX11Trusted yes

This is needed to get tools like cluster-fork to work with the Trusted forwarding.

No comments:

Post a Comment