New Script: enable-key-ssh agent helper
This commit is contained in:
7
Bash Scripts/enable-key.sh
Executable file
7
Bash Scripts/enable-key.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
KEYFILE="/home/${USER}/.ssh/github_key"
|
||||||
|
|
||||||
|
eval "$(ssh-agent -s)"
|
||||||
|
ssh-add ${KEYFILE}
|
Reference in New Issue
Block a user