jitty-scripts/Bash Scripts/enable-key.sh

8 lines
97 B
Bash
Executable File

#!/bin/bash
KEYFILE="/home/${USER}/.ssh/github_key"
eval "$(ssh-agent -s)"
ssh-add ${KEYFILE}