Enhancements
AWS Portals
Added support for AWS connections through AWS EC2 Instance Connect.
AWS Portals can be defined with aws:
key in portal definition.
portals:
- name: aws.host
aws:
instace-id: i-abc1234
region: us-west-2
user: ec2-user
Default keys
To support AWS Portals, new top-level configuration properties default-public-key
and default-private-key
are added.
Default values are ~/.ssh/id_rsa.pub
and ~/.ssh/id_rsa
respectively, but can be changed if you use different format.
This feature will come extra handy with future support for:
- declarative connections
- per-connection keys including temporary keys
Breaking change
Config format for basic command connections has changed: portals.[].command
-> portals.[].raw.command
.
This is done to support declarative connections in the future.
Instead of
- name: server.prod.bastion
command: ssh -A [email protected]
Use
- name: server.prod.bastion
raw:
command: ssh -A [email protected]