Instantly share code, notes, and snippets.
Create or change the file ~/.ssh/config and add the following lines:
~/.ssh/config
Host 127.0.0.1 ForwardX11 yes