Skip to content

Instantly share code, notes, and snippets.

barrowkwan / custom_keys_git_ssh
Created Jul 12, 2020 — forked from vhermecz/custom_keys_git_ssh
Allow configuring multiple ssh deploy keys with git
View custom_keys_git_ssh
# Script to use custom ssh keys for various git repositories
# Run without arguments to get usage info.
# How it works:
# When used with SSH, git sends the path to the repository in the SSH command.
# @see:
# We extract this info and search for a key with the name.
# Based on the source, this seems to be used format since v2.0 at least.
# @see:
barrowkwan / gencert.go
Created Jan 6, 2019 — forked from samuel/gencert.go
Generate a self-signed certificate in Go
View gencert.go
package main
import (