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

Generate SSH cert with oputil #519

Open
cognitivegears opened this issue Oct 12, 2023 · 1 comment
Open

Generate SSH cert with oputil #519

cognitivegears opened this issue Oct 12, 2023 · 1 comment
Labels
enhancement good first issue Fairly easy to pick up and go!

Comments

@cognitivegears
Copy link
Collaborator

Now that we have upgraded the ssh2 library, it supports the ability to generate ssh certificates. We should take advantage of this to facilitate ssh setup without any external tools needed. Some thoughts below:

  • Create a new core/oputil/oputil_ssh.js
  • allow creation of the key with a random password or manual entered password. Add the password to the config.hjson.
  • make sure the private key is saved with the minimum file permissions needed.
  • update documentation (current description of running ssh-keygen etc should not be removed but changed to a secondary option.
@cognitivegears cognitivegears added enhancement good first issue Fairly easy to pick up and go! labels Oct 12, 2023
@NuSkooler
Copy link
Owner

This could probably live under oputil config, e.g. oputil.js config ssh-key [options]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Fairly easy to pick up and go!
Projects
None yet
Development

No branches or pull requests

2 participants