ssh authentication key by openstack key-pair wrapper
https://github.com/pyama86/openstack-ssh/releases
/etc/ssh/openstack-ssh.conf
auth_url = "http://your-api-host:35357/v2.0"
user = "your name"
password = "your password"
tenant = "your tenant"
region = "your region"(default regionOne)
/etc/ssh/sshd_config
AuthorizedKeysCommand /path/to/openstack-ssh
AuthorizedKeysCommandUser nobody
create user hoge
to server
[root@test-server.com] useradd hoge
create key-pair
nova keypair-add --pub-key ~/.ssh/github_rsa.pub hoge
login
ssh hoge@test-server.com
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT