Enabling X11 forwarding for SSH by default
Put the following in ~/.ssh/config
:
ForwardX11 yes
According to the manual, options can also be set on a per-host basis, like this:
<some general settings>
Host host1
ForwardX11 yes
<some more host-specific settings>
Host host2
ForwardX11 no