added ssh config

This commit is contained in:
Spyros Ligouras 2013-07-19 04:22:19 +03:00
parent a3517c3516
commit 34d111dec8

View File

@ -33,3 +33,7 @@ mount /mnt
# initialize /etc/openvpn/client.conf
sed -e 's,proto udp,;proto udp,' -e 's,;proto tcp,proto tcp,' -e 's,^remote.*,,' /usr/share/openvpn/examples/client.conf > /etc/openvpn/client.conf
# ssh configuration
if [ ! -d /home/haki/.ssh ] ; then sudo -u haki mkdir /home/haki/.ssh ; fi
echo "StrictHostKeyChecking on" | sudo -u haki tee /home/haki/.ssh/config >/dev/null