Skip to content

Add ssh-keygen command#133

Merged
gergas3 merged 2 commits intomainfrom
greg/add-ssh-keygen-command
Oct 25, 2024
Merged

Add ssh-keygen command#133
gergas3 merged 2 commits intomainfrom
greg/add-ssh-keygen-command

Conversation

@gergas3
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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