https://github.com/unixorn/setupsshonamis
I needed to create an AWS marketplace AMI at work, so the instances needed to get their authorized_keys set from the keypair specified to AWS.
https://github.com/unixorn/setupsshonamis
Last synced: 3 months ago
JSON representation
I needed to create an AWS marketplace AMI at work, so the instances needed to get their authorized_keys set from the keypair specified to AWS.
- Host: GitHub
- URL: https://github.com/unixorn/setupsshonamis
- Owner: unixorn
- License: bsd-2-clause
- Created: 2014-01-02T23:09:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-08T02:56:54.000Z (almost 11 years ago)
- Last Synced: 2025-01-29T09:22:20.065Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 156 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SetupSSHonAMIs
==============I needed to create an CentOS-based AWS marketplace AMI at work and the instances needed to get their authorized_keys for root set from the keypair specified to AWS.
It was annoying to have to write this since I'm sure tons of other people have had to do it, so I'm releasing it to keep anyone else from needing to write it.
Usage
=====
Copy the init script to your AMI using your configuration manager of choice. I'm at a Chef shop, so I've included a quick Chef recipe snippet, configure_ssh_from_aws.rb you can copy.