New Script: enable-key-ssh agent helper

This commit is contained in:
2015-09-02 23:31:38 -07:00
parent 70e92dd02e
commit 71a42bcdfc

7
Bash Scripts/enable-key.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
KEYFILE="/home/${USER}/.ssh/github_key"
eval "$(ssh-agent -s)"
ssh-add ${KEYFILE}