Working on cleanup

This commit is contained in:
2017-10-14 17:39:00 +02:00
parent 5749a9fc07
commit ee2a05a99a
5 changed files with 116 additions and 83 deletions

13
ssh/setup.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/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

4
ssh/ssh_config Normal file
View File

@@ -0,0 +1,4 @@
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/thomas_rsa