Working on cleanup

This commit is contained in:
thomas committed 2017-10-14 17:39:00 +02:00
1 parent 5749a9fc07
commit ee2a05a99a
5 files changed
+116 -83

No files matched your search

Executable
+13
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
View File
@@ -0,0 +1,4 @@
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/thomas_rsa