How to fix – Fingerprint has already been taken

Sometimes we have “Fingerprint has already been taken” while adding our ssh key.

To fix that issue, we need to generate a new ssh key. But the problem is your existing ssh key is added to other resources so if you generate a new one, you have to replace it everywhere.

Instead of doing this, generate a new ssh key in a new file and add it wherever it is needed.

Run the following commands on the terminal to generate the SSH key:

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Then it will ask where to generate:

Generating public/private rsa key pair. 
Enter file in which to save the key (/home/<NAME>/.ssh/id_rsa):

Give the following name for the file

/home/<NAME>/.ssh/id_rsa2

And the last step is to add it to the file by the following command:

ssh-add ~/.ssh/id_rsa2

Related Articles

Edit old commit message on github

Sometimes we make mistake in git commit message, especially spelling mistake. Even though I think twice before pressing the enter key after I write the…

How to Create Child-theme in WordPress Step by Step very easy

Video for who doesn’t like to read ;). And if you like the video then subscribe my channel and share this with others who has…

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.

First WordCamp

I am going to tell you about my first WordCamp which was held in Pune on 15th Jan 2017. And yes I was very happy…

Add custom filter for searching post or users in WordPress backend

For this, two parts are important. Part 1: Adding select dropdown Below is the action by which we can add a new search filter for…

Responses

Leave a Reply