Skip to content

Only use the SSH certificate if available#1370

Merged
pjcdawkins merged 5 commits intomainfrom
ssh-cert-only
Dec 23, 2023
Merged

Only use the SSH certificate if available#1370
pjcdawkins merged 5 commits intomainfrom
ssh-cert-only

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
@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