Skip to content

Instantly share code, notes, and snippets.

@et2010
et2010 / multiple_ssh_setting.md
Created March 24, 2019 18:24 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
# Syntax: ./common-debian.sh <install zsh flag> <username> <user UID> <user GID>
set -e
@et2010
et2010 / rename-org-link-file.el
Last active April 3, 2021 17:06
Rename the file that org-link pointed to and update the link