diff --git a/.local/bin/ssh-clone-id b/.local/bin/ssh-clone-id index 2521b02..ecb52d3 100755 --- a/.local/bin/ssh-clone-id +++ b/.local/bin/ssh-clone-id @@ -27,6 +27,7 @@ ssh-copy-id -i "$KEY_PATH.pub" "$REMOTE" scp "$KEY_PATH" "$KEY_PATH.pub" "$REMOTE:$HOME/.ssh/" +# shellcheck disable=SC2016 CMD='eval $(ssh-agent -s)' CMD="$CMD ; chmod 400 $REMOTE_KEY_PATH $REMOTE_PUBKEY_PATH" CMD="$CMD ; ssh-add $REMOTE_KEY_PATH"