View source: R/ec2instanceconnect_operations.R
ec2instanceconnect_send_ssh_public_key | R Documentation |
Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
See https://www.paws-r-sdk.com/docs/ec2instanceconnect_send_ssh_public_key/ for full documentation.
ec2instanceconnect_send_ssh_public_key(
InstanceId,
InstanceOSUser,
SSHPublicKey,
AvailabilityZone = NULL
)
InstanceId |
[required] The ID of the EC2 instance. |
InstanceOSUser |
[required] The OS user on the EC2 instance for whom the key can be used to authenticate. |
SSHPublicKey |
[required] The public key material. To use the public key, you must have the matching private key. |
AvailabilityZone |
The Availability Zone in which the EC2 instance was launched. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.