Grouping stuff
This commit is contained in:
1 parent
b90cf92fb5
commit
832fa5ee30
30 files changed
+120
-37
No files matched your search
@@ -0,0 +1,4 @@
|
||||
Host *
|
||||
UseKeychain yes
|
||||
AddKeysToAgent yes
|
||||
IdentityFile ~/.ssh/thomas_rsa
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ${DOTFILES}/helpers.sh
|
||||
|
||||
function main()
|
||||
{
|
||||
local scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
|
||||
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 ${scriptdir}/config ${HOME}/.ssh/config
|
||||
|
||||
print_ok "SSH settings installed"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in new issue
Block a user