git-novice icon indicating copy to clipboard operation
git-novice copied to clipboard

Share what to do if you already have an ssh key

Open maneesha opened this issue 2 years ago • 3 comments

How could the content be improved?

In the ssh setup section, we show how to check if you already have an ssh key set up, and what to do if you don't. It would also be useful to share what to do if you do already have it set up. Perhaps something along the lines of "If you already have your ssh key set up, skip down to step XX."

Which part of the content does your suggestion apply to?

https://swcarpentry.github.io/git-novice/aio.html#ssh-background-and-setup

maneesha avatar Aug 10 '23 03:08 maneesha

I agree, user can Enter ls -al ~/.ssh to see if existing SSH keys are present.

$ ls -al ~/.ssh # Lists the files in your .ssh directory, if they exist

narmadanagar avatar Sep 22 '23 14:09 narmadanagar

Does XX mean 3.2? because the last output bash box lists the type of files in .ssh directory to expect, right? But the directions of 3.2 really need to be a nested ordered list, not three run-on sentences to add new SSH key.
Plus: need to add what to do if I have an SSH key but only the dates are similar. Do I delete it? Add new anyway? Can I have more than one?

jas58 avatar Sep 30 '23 20:09 jas58