ec2-instance-connect - Configures ssh daemon to accept EC2 Instance Connect ssh keys

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Updates Universe i386
Package filename ec2-instance-connect_1.1.9-0ubuntu3~16.04.1_all.deb
Package name ec2-instance-connect
Package version 1.1.9
Package release 0ubuntu3~16.04.1
Package architecture all
Package type deb
Category universe/net
License -
Maintainer Ubuntu Developers <>
Download size 11.09 KB
Installed size 47.00 KB
EC2 Instance Connect is a service that publishes ssh keys for use by EC2
instances based on AWS Credentials. These keys are consumed by on-instance
configuration provided by this package. The ssh daemon will query EC2
Instance Metadata service for user-keys at ssh calltime, validate any if
present as well as validating their signature, and if all checks pass return
will include them in the authorized keys list.
In addition, there is an agent that harvests instance ssh host keys and
passes them back to the service.  This is for authentication purposes by
the EC2 console to open an in-browser ssh terminal connection.


Package Version Architecture Repository
ec2-instance-connect_1.1.12+dfsg1-0ubuntu3~16.04.0_all.deb 1.1.12+dfsg1 all Ubuntu Proposed Universe
ec2-instance-connect_1.1.12+dfsg1-0ubuntu3~16.04.0_all.deb 1.1.12+dfsg1 all Ubuntu Proposed Universe
ec2-instance-connect_1.1.9-0ubuntu3~16.04.1_all.deb 1.1.9 all Ubuntu Updates Universe
ec2-instance-connect - - -


Name Value
adduser -
ca-certificates -
coreutils >= 8.0
curl -
openssh-server >= 6.9.0
openssl -


Type URL
Binary Package ec2-instance-connect_1.1.9-0ubuntu3~16.04.1_all.deb
Source Package ec2-instance-connect

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ec2-instance-connect deb package:
    # sudo apt-get install ec2-instance-connect




2019-06-21 - Daniel Anderson <>
ec2-instance-connect (1.1.9-0ubuntu3~16.04.1) xenial; urgency=low
[ Daniel Anderson ]
* Improved mechanism for detection if script is running on an EC2 instance
* postinst: Removed modification of sshd_config introduced in 1.1-8
* postinst: Better checks for existing AuthorizedKeysCommand* configuration
[ Mathieu Trudel-Lapierre ]
* debian/postinst: Fix regexes for matching/ignoring comments in sshd_config.
2019-04-24 - Daniel Anderson <>
ec2-instance-connect (1.1.8) xenial; urgency=low
* postinst: Better detection of existing user customization
2019-03-29 - Daniel Anderson <>
ec2-instance-connect (1.1.7) xenial; urgency=low
* Minor configuration change
2019-03-20 - Daniel Anderson <>
ec2-instance-connect (1.1.6) xenial; urgency=low
* Verification of EC2 hypervisor UUID
2019-03-15 - Daniel Anderson <>
ec2-instance-connect (1.1.5) xenial; urgency=low
* Additional checks to enforce scripts only run on EC2 instances
2019-01-30 - Daniel Anderson <>
ec2-instance-connect (1.1.4) xenial; urgency=high
* Fixed a bug in reading instance-identity credentials
* Removed  AWS CLI dependency
* Hardened error handling
* Cleaned up package to Canonical's release standards
2018-12-21 - Daniel Anderson <>
ec2-instance-connect (1.1.3) xenial; urgency=medium
* Fixing an issue with the hostkey harvesting script - it was using default creds instead of instance-identity
2018-12-07 - Daniel Anderson <>
ec2-instance-connect (1.1.2) xenial; urgency=high
* Initial Debian package version based on RPM packaging
2018-10-23 - Anshumali Prasad <>
ec2-instance-connect (1.1.1) UNRELEASED; urgency=low
* Hostkey harvesting for EC2 Instance Connect.
2018-10-22 - Daniel Anderson <>
ec2-instance-connect (1.0.3) UNRELEASED; urgency=low
* Updating exit status on no-data case, improving support for newer openssl versions

See Also

Package Description
elfutils_0.165-3ubuntu1.2_i386.deb collection of utilities to handle ELF objects
emacs-mozc-bin_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.2_i386.deb Helper module for emacs-mozc
emacs-mozc_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.2_i386.deb Mozc for Emacs
emacs24-lucid_24.5+1-6ubuntu1.1_i386.deb GNU Emacs editor (with Lucid GUI support)
engrampa-common_1.12.0-2ubuntu0.1_all.deb archive manager for MATE (common files)
engrampa_1.12.0-2ubuntu0.1_i386.deb archive manager for MATE
enigmail_2.0.8-1~ubuntu0.16.04.2_all.deb GPG support for Thunderbird and Debian Icedove
epiphany-browser-data_3.18.11-0ubuntu1_all.deb Data files for the GNOME web browser
epiphany-browser_3.18.11-0ubuntu1_i386.deb Intuitive GNOME web browser
erlang-base-hipe_18.3-dfsg-1ubuntu3.1_i386.deb Erlang/OTP HiPE enabled virtual machine and base applications
erlang-common-test_18.3-dfsg-1ubuntu3.1_i386.deb Erlang/OTP application for automated testing
erlang-debugger_18.3-dfsg-1ubuntu3.1_i386.deb Erlang/OTP application for debugging and testing
erlang-dialyzer_18.3-dfsg-1ubuntu3.1_i386.deb Erlang/OTP discrepancy analyzer application
erlang-et_18.3-dfsg-1ubuntu3.1_i386.deb Erlang/OTP event tracer application
erlang-guestfs_1.32.2-4ubuntu2.2_i386.deb guest disk image management system - Erlang bindings