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

Configurable SSH Identity #866

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Configurable SSH Identity #866

merged 1 commit into from
Jul 15, 2024

Conversation

acidtib
Copy link
Contributor

@acidtib acidtib commented Jun 26, 2024

This PR introduces SSH options keys_only, keys, and key_data, which gives us the ability to define the SSH key used.

  # Keys Only
  #
  # Set to true to use only private keys from keys and key_data parameters, 
  # even if ssh-agent offers more identities. This option is intended for 
  # situations where ssh-agent offers many different identites or you have 
  # a need to overwrite all identites and force a single one.
  keys_only: false

  # Keys
  #
  # An array of file names of private keys to use for publickey
  # and hostbased authentication
  keys: [ "~/.ssh/id.pem" ]

  # Key Data
  #
  # An array of strings, with each element of the array being
  # a raw private key in PEM format.
  key_data: [ "-----BEGIN OPENSSH PRIVATE KEY-----" ]

@djmb djmb merged commit ade8b43 into basecamp:main Jul 15, 2024
8 checks passed
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