From 42da5e2f36eda31d22285870159a4330ca33882f Mon Sep 17 00:00:00 2001 From: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:49:20 -0400 Subject: [PATCH] communicator: fix SSH config typo (#124) --- .../packer-plugin-sdk/communicator/SSH-not-required.mdx | 2 +- communicator/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/communicator/SSH-not-required.mdx b/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/communicator/SSH-not-required.mdx index fcf7181a4..b1a8652f6 100644 --- a/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/communicator/SSH-not-required.mdx +++ b/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/communicator/SSH-not-required.mdx @@ -28,7 +28,7 @@ (unless the user has set the `-debug` flag). Defaults to "false"; currently only works on guests with `sed` installed. -- `ssh_key_exchange_algorithms` ([]string) - If set, Packer will override the value of key exchange (kex) altorighms +- `ssh_key_exchange_algorithms` ([]string) - If set, Packer will override the value of key exchange (kex) algorithms supported by default by golang. Acceptable values include: "curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521", diff --git a/communicator/config.go b/communicator/config.go index 1bc2d602e..ea4927eaf 100644 --- a/communicator/config.go +++ b/communicator/config.go @@ -103,7 +103,7 @@ type SSH struct { // (unless the user has set the `-debug` flag). Defaults to "false"; // currently only works on guests with `sed` installed. SSHClearAuthorizedKeys bool `mapstructure:"ssh_clear_authorized_keys"` - // If set, Packer will override the value of key exchange (kex) altorighms + // If set, Packer will override the value of key exchange (kex) algorithms // supported by default by golang. Acceptable values include: // "curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", // "ecdh-sha2-nistp384", "ecdh-sha2-nistp521",