#!/bin/sh echo "#################### generic-x11.post ####################" # enable X11 forwarding on ssh if [ -f /etc/ssh/sshd_config ]; then echo "X11Forwarding yes" >>/etc/ssh/sshd_config echo "AddressFamily inet" >>/etc/ssh/sshd_config fi