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

Allow newlines in SSH private keys #602

Merged
merged 3 commits into from
Jun 18, 2021
Merged

Conversation

0x2b3bfa0
Copy link
Member

This pull request simplifies the SSH key format requirements so users can provide keys directly without having to escape newlines on their own.

Before

$ cml-runner --cloud-ssh-private="$(perl -pe 's/\n/\\n/g' key.pem)"

After

$ cml-runner --cloud-ssh-private="$(cat key.pem)"

@0x2b3bfa0 0x2b3bfa0 added technical-debt Refactoring, linting & tidying ui/ux User interface/experience labels Jun 18, 2021
@0x2b3bfa0 0x2b3bfa0 self-assigned this Jun 18, 2021
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to internal June 18, 2021 10:26 Inactive
bin/cml-runner.js Outdated Show resolved Hide resolved
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to internal June 18, 2021 10:43 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to internal June 18, 2021 10:44 Inactive
Copy link
Contributor

@DavidGOrtega DavidGOrtega left a comment

Choose a reason for hiding this comment

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

👍 🚀

@casperdcl casperdcl merged commit 2710bc7 into master Jun 18, 2021
@casperdcl casperdcl deleted the allow-newlines-in-ssh-private branch June 18, 2021 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical-debt Refactoring, linting & tidying ui/ux User interface/experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants