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

Add ssh-keygen command #133

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Add ssh-keygen command #133

merged 2 commits into from
Oct 25, 2024

Conversation

gergas3
Copy link
Contributor

@gergas3 gergas3 commented Oct 24, 2024

This command can be used if user only wants to create the key pair for SSH. One use case when user requests access through Slack instead of through the CLI and they need to provide the public key in Slack.

The command could be extended to force regeneration of the key pair. I did not include that option because already provisioned keys would not work anymore.

Copy link
Contributor

@nbrahms nbrahms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment on lines +19 to +21
async () => {
await createKeyPair();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
async () => {
await createKeyPair();
}
createKeyPair

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createKeyPair has a return value so we have to do this

@gergas3 gergas3 merged commit dfe8f33 into main Oct 25, 2024
3 checks passed
@gergas3 gergas3 deleted the greg/add-ssh-keygen-command branch October 25, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants