I've generated an ssh key ssh-keygen -t rsa -b 4096 -C "email"and used the public key aws.pub for importing an key-pair in AWS
when i create an instance with
docker-machine create --driver amazonec2 --amazonec2-region eu-west-1 --amazonec2-instance-type t2.micro --amazonec2-tags Name,prod --amazonec2-ssh-keypath ~/.ssh/aws prod
The instance is created, but a prod key-pair is created (on AWS) and used for the EC2 instance
I prefer my own key so i can use it to FTP to the EC2 instance. What am I doing wrong? or is it a bug.
I've generated an ssh key
ssh-keygen -t rsa -b 4096 -C "email"
and used the public keyaws.pub
for importing an key-pair in AWSwhen i create an instance with
docker-machine create --driver amazonec2 --amazonec2-region eu-west-1 --amazonec2-instance-type t2.micro --amazonec2-tags Name,prod --amazonec2-ssh-keypath ~/.ssh/aws prod
The instance is created, but a
prod
key-pair is created (on AWS) and used for the EC2 instanceI prefer my own key so i can use it to FTP to the EC2 instance. What am I doing wrong? or is it a bug.
Thanks Willem