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

Option to add ssh keys when they're reinstalled #150

Closed
alichtman opened this issue Oct 28, 2018 · 5 comments
Closed

Option to add ssh keys when they're reinstalled #150

alichtman opened this issue Oct 28, 2018 · 5 comments
Labels
help wanted Extra attention is needed reinstallation

Comments

@alichtman
Copy link
Owner

At the moment, when ssh keys are reinstalled, they're not "usable."

I'm not sure what the best way to set this up is, but all keys that were added to the ssh daemon should be re-added.

ssh-add ~/.ssh/id_rsa is the command for adding the id_rsa key on a mac.

Need to consider cross-platform usage too.

@alichtman alichtman added bug Something isn't working help wanted Extra attention is needed reinstallation labels Oct 28, 2018
@alichtman
Copy link
Owner Author

This will trip inexperienced users up, and I want this tool to be really user friendly. This is a critical feature to get right.

@alichtman
Copy link
Owner Author

It's just occurred to me that it's possible this is a bug specific to my environment and not caused by shallow-backup. Can anyone reproduce this?

@ghost
Copy link

ghost commented Nov 9, 2018

Hi, is this still something to do?
If so I would test this on my linux machine (Debian 10) and look into it.
Usually for most linux distributions ssh-add is the command to go. What actually means not usable in your description?

@alichtman
Copy link
Owner Author

alichtman commented Nov 9, 2018

Yeah, this is still something I want to so. Whenever an ssh key is "reinstalled," it should be added to the ssh agent.

Edit: This should be option toggled. When a user reinstalls dots, they should be prompted to add ssh keys or not. It should also be supported with a CLI arg.

@alichtman alichtman changed the title Make sure ssh keys get added when they're reinstalled Option to add ssh keys when they're reinstalled Nov 10, 2018
@alichtman alichtman removed high-priority bug Something isn't working labels Nov 10, 2018
@alichtman
Copy link
Owner Author

nvm, I screwed something up on my laptop. Nothing is wrong with the software lmao

@alichtman alichtman reopened this Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed reinstallation
Projects
None yet
Development

No branches or pull requests

1 participant