#!/bin/bash source $HOMESTEAD_SCRIPTS/helperFunctions.sh ############################################################################### # # Setup SSH # ############################################################################### cp $MY_ID_RSA /home/vagrant/.ssh/id_rsa cp $MY_ID_RSA_PUB /home/vagrant/.ssh/id_rsa.pub updateAuth /home/vagrant/.ssh/id_rsa 0600 updateAuth /home/vagrant/.ssh/id_rsa.pub cat < /home/vagrant/.ssh/config Host github.com StrictHostKeyChecking no User git IdentityFile /home/vagrant/.ssh/id_rsa Host gist.github.com StrictHostKeyChecking no User git IdentityFile /home/vagrant/.ssh/id_rsa EOT updateAuth /home/vagrant/.ssh/config