Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share what to do if you already have an ssh key #954

Open
maneesha opened this issue Aug 10, 2023 · 3 comments
Open

Share what to do if you already have an ssh key #954

maneesha opened this issue Aug 10, 2023 · 3 comments
Labels
type:discussion Discussion or feedback about the lesson

Comments

@maneesha
Copy link
Contributor

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

@narmadanagar
Copy link

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

@jas58
Copy link

jas58 commented Sep 30, 2023

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?

@erinmgraham
Copy link
Contributor

Hi All,

Thank you for your thoughtful comments on this episode. I am leaning towards removing the check for other keys - see my comments on #950; however I do acknowledge there are pros and cons to any solution we choose.

Given the issues opened around the existing ssh content and other issues opened to replace ssh with it with e.g., https/gcm/pat, I will label this as a discussion and speak with the other maintainers to work out a way forward.

@erinmgraham erinmgraham added the type:discussion Discussion or feedback about the lesson label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:discussion Discussion or feedback about the lesson
Projects
None yet
Development

No branches or pull requests

4 participants