Last active
January 24, 2020 07:02
-
-
Save sketchbuch/20cb69de16e804cd0a945834577de5c4 to your computer and use it in GitHub Desktop.
SSH related commands on a Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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