summaryrefslogtreecommitdiff
path: root/scripts/generic-x11.post
blob: fff82d28ceb6471fdeb78b2f63996c673af5e7d3 (plain)
1
2
3
4
5
6
7
8
9
#!/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