Skip to content

Commit 65d79dc

Browse files
specify when working with public key.
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent 6259da3 commit 65d79dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ec2/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export class Ec2ConnectionManager {
240240
sshKeyPair: SshKeyPair,
241241
remoteUser: string
242242
): Promise<void> {
243-
const sshKey = await sshKeyPair.getPublicKey()
243+
const sshPubKey = await sshKeyPair.getPublicKey()
244244

245245
const remoteAuthorizedKeysPaths = `/home/${remoteUser}/.ssh/authorized_keys`
246246
const command = `echo "${sshKey}" > ${remoteAuthorizedKeysPaths}`

0 commit comments

Comments
 (0)