Skip to content

Instantly share code, notes, and snippets.

@nuggetnchill
Last active December 21, 2020 20:09
Show Gist options
  • Save nuggetnchill/63f8bcbbc2abd4090da9fe844a7d07e4 to your computer and use it in GitHub Desktop.
Save nuggetnchill/63f8bcbbc2abd4090da9fe844a7d07e4 to your computer and use it in GitHub Desktop.
How to remove passphrase for the SSH key without having to create a new key?

How to remove passphrase for the SSH key without having to create a new key?

Opened git bash.

Enter : $ ssh-keygen -p

When prompt to enter the keyfile location, just hit ENTER for default location.

Enter old passphrase

Enter new passphrase - (leave blank and hit ENTER)

Confirm new passphrase - (leave blank and hit ENTER)

And tadaa! no more pain from entering passphrase everytime u need to git push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment