#!/usr/bin/env bash source ${DOTFILES}/helpers.sh function main() { print_info "Setting up SSH" # copy private key to .ssh # cp ${KEYFILE} ~/.ssh/thomas_rsa # chmod 400 ~/.ssh/thomas_rsa # ssh-add -K ~/.ssh/thomas_rsa linkfile ${DOTFILES}/ssh/config ${HOME}/.ssh/config print_ok "SSH settings installed" } main "$@"