bastillion-io / Bastillion

Bastillion is a web-based SSH console that centrally manages administrative access to systems. Web-based administration is combined with management and distribution of user's public SSH keys.
https://www.bastillion.io
Other
3.18k stars 381 forks source link

individual custom key-pair for each Profiles #254

Open selvanrajamony opened 6 years ago

selvanrajamony commented 6 years ago

Hi, I am trying to setup a keybox for ec2 instances which are from different aws accounts, each account has it's own individual keypair for the instances. I did use the "supplying-a-custom-ssh-key-pair" option to import one of the accounts keypair, and was able to connect to the instances in that account via keybox. Would adding multiple aws accounts keypair by the same method (supplying-a-custom-ssh-key-pair) would work for accessing other accounts ec2 instances ? Is there an option to specify separate imported custom key-pair for each Profiles ?

skavanagh commented 6 years ago

No, it can't! KeyBox only uses one key. The public key (found under 'Settings -> Public Key') can be imported as an EC2 Key Pair in the AWS console. That way new instances are created with with it's key already. For existing instances, you'll have to add the public key by hand.