https://github.com/cbeer/capistrano-one_time_key
https://github.com/cbeer/capistrano-one_time_key
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbeer/capistrano-one_time_key
- Owner: cbeer
- License: other
- Created: 2014-01-16T16:20:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T19:16:17.000Z (12 months ago)
- Last Synced: 2025-01-05T16:39:01.248Z (5 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Capistrano::OneTimeKey
Capistrano::OneTimeKey creates per-deploy ssh keys. This may be useful in SSH environments that use alternative authentication mechanisms (e.g. kerberos) that have no (reliably maintained) net-ssh equivalents.
## Installation
Add this line to your application's Gemfile:
gem 'capistrano-one_time_key'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-one_time_key
## Usage
In your Capfile, require the gem:
require 'capistrano/one_time_key'
And in your deploy stage, after you register servers and services, create the one time keys:
Capistrano::OneTimeKey.generate_one_time_key!
## Contributing
1. Fork it ( http://github.com/cbeer/capistrano-one_time_key/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request