Monday, March 15, 2010

Mac OS X, ssh and X11 forwarding

Well it was my turn to go through this struggle. Once you have problems you'll see that so many others have had problems with getting ssh public key ("no password") connections and then X11 forwarding working. Next I'll get port forwarding through ssh working. That can be the subject of a later post.

Here are my notes for problem solving.

  • Permission on ~/.ssh/authorized_keys OR ~/.ssh/authorized_keys2 needs to be 0600
Found at,
  • Permission on ~/.ssh needs to be 0700
Found at

X11 forwarding
  • I had to remove the references in home.bashrc that sets $DISPLAY as the sshd does that
Found at

No comments:

Post a Comment