View Source AWS.EC2InstanceConnect (aws-elixir v1.0.0)

This is the Amazon EC2 Instance Connect API Reference.

It provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2 Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH public keys to EC2, providing users a simple and secure way to connect to their instances.

To view the Amazon EC2 Instance Connect content in the Amazon EC2 User Guide, see Connect to your Linux instance using EC2 Instance Connect.

For Amazon EC2 APIs, see the Amazon EC2 API Reference.

Summary

Functions

Pushes an SSH public key to the specified EC2 instance.

Pushes an SSH public key to the specified EC2 instance for use by the specified user.

Functions

Link to this function

send_serial_console_ssh_public_key(client, input, options \\ [])

View Source

Pushes an SSH public key to the specified EC2 instance.

The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.

Link to this function

send_ssh_public_key(client, input, options \\ [])

View Source

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.