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

Only use the SSH certificate if available #1370

Merged
merged 5 commits into from
Dec 23, 2023
Merged

Only use the SSH certificate if available #1370

merged 5 commits into from
Dec 23, 2023

Conversation

pjcdawkins
Copy link
Collaborator

@pjcdawkins pjcdawkins commented Dec 13, 2023

Adds an ssh.cert_only config option which if enabled means only the certificate will be included in config, if a certificate exists, and not the user's "default" public key files (~/.ssh/id_rsa etc.). This is disabled by default. It can be enabled in the config file or in the environment (e.g. export PLATFORMSH_CLI_SSH_CERT_ONLY=1).

Adds an `ssh.cert_only` config option which if enabled means only the
certificate will be included in config, if a certificate exists, and not the
user's "default" public key files (~/.ssh/id_rsa etc.). This is disabled by
default. It can be enabled in the config file or in the environment (e.g.
`export {PREFIX}_SSH_CERT_ONLY=1`).

Rename api.ssh_cert_only to ssh.cert_only
@pjcdawkins pjcdawkins merged commit 7a851a3 into main Dec 23, 2023
2 checks passed
@pjcdawkins pjcdawkins deleted the ssh-cert-only branch December 23, 2023 16:27
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.

1 participant