Skip to content

Instantly share code, notes, and snippets.

@sketchbuch
Last active January 24, 2020 07:02
Show Gist options
  • Save sketchbuch/20cb69de16e804cd0a945834577de5c4 to your computer and use it in GitHub Desktop.
Save sketchbuch/20cb69de16e804cd0a945834577de5c4 to your computer and use it in GitHub Desktop.
SSH related commands on a Mac
These notes are for mac os.
Config File
===========
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/name of key
Add Key
=======
> ssh-add -K ~/.ssh/name of key
List Active Keys
================
> ssh-add -l
Delete Key
==========
> Dlete key: ssh-add -d <keyfile>
Turn Off Credential Helper
==========================
> git config --system --unset credential.helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment