Ec2 Instance Connect

This page documents function available when using the Ec2_Instance_Connect module, created with @service Ec2_Instance_Connect.

Index

Documentation

Main.Ec2_Instance_Connect.send_sshpublic_keyMethod
send_sshpublic_key(availability_zone, instance_id, instance_osuser, sshpublic_key)
send_sshpublic_key(availability_zone, instance_id, instance_osuser, sshpublic_key, params::Dict{String,<:Any})

Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.

Arguments

  • availability_zone: The availability zone the EC2 instance was launched in.
  • instance_id: The EC2 instance you wish to publish the SSH key to.
  • instance_osuser: The OS user on the EC2 instance whom the key may be used to authenticate as.
  • sshpublic_key: The public key to be published to the instance. To use it after publication you must have the matching private key.
source