Skip to content

Instantly share code, notes, and snippets.

View ayrokid's full-sized avatar

yanun ayrokid

  • indonesia
  • jakarta
View GitHub Profile
@ayrokid
ayrokid / multiple-keys-gitlab.md
Created March 1, 2021 23:23 — forked from dotspencer/multiple-keys-gitlab.md
Multiple Gitlab accounts with multiple ssh keys

Gitlab won't allow reuse of a public ssh key for multiple accounts. To get around this you need to create a second ssh key for the second account.

Create or modify your ~/.ssh/config file:

# normal                                                                                                                                                                  
Host gitlab.com-work_username
     HostName gitlab.com
     PreferredAuthentications publickey
 IdentityFile ~/.ssh/id_rsa
@ayrokid
ayrokid / iterm2-solarized.md
Created July 2, 2019 10:51 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k