Capistrano::Ssh
Ssh to server.
Inspired by https://stuff-things.net/2017/03/22/capistrano-ssh/
Installation
Add this line to your application's Gemfile:
gem 'capistrano3-ssh'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install capistrano3-ssh
Usage
- Add
require 'capistrano/ssh'
in yourCapfile
. - Run ssh task:
cap staging ssh
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/wangjianxing/capistrano3-ssh.
License
The gem is available as open source under the terms of the MIT License.