🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

capistrano-one_time_key

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capistrano-one_time_key

bundlerRubygems
Version
0.2.0
Version published
Maintainers
1
Created
Source

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

  • Fork it ( http://github.com/cbeer/capistrano-one_time_key/fork )
  • 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)
  • Create new Pull Request

FAQs

Package last updated on 18 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts