14 lines
281 B
Bash
Executable File
14 lines
281 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function setup_ssh()
|
|
{
|
|
# copy private key to .ssh
|
|
# cp ${KEYFILE} ~/.ssh/thomas_rsa
|
|
# chmod 400 ~/.ssh/thomas_rsa
|
|
# ssh-add -K ~/.ssh/thomas_rsa
|
|
ln -s ${DOTFILES}/ssh/ssh_config ${HOME}/.ssh/config
|
|
}
|
|
|
|
export DOTFILES=/Users/thomas/dotfiles
|
|
setup_ssh
|