Working on cleanup
This commit is contained in:
1 parent
5749a9fc07
commit
ee2a05a99a
5 files changed
+116
-83
No files matched your search
Executable
+13
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
Host *
|
||||
UseKeychain yes
|
||||
AddKeysToAgent yes
|
||||
IdentityFile ~/.ssh/thomas_rsa
|
||||
Reference in new issue
Block a user