Skip to content

Interactive command execution for SSHKit (using SSH binary)

License

Notifications You must be signed in to change notification settings

fejo-dk/sshkit-interact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem Version Dependencies Code Climate

Join the chat

SSHKIT::Interact

Interactive command execution for SSHKit.

Installation

Add this line to your application's Gemfile:

gem 'sshkit-interact'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sshkit-interact

Usage

Switch SSHKit backend:

require 'sshkit/interact'

SSHKit.backend = SSHKit::Interact::Backend

And use interact instead of execute:

within '/foo/bar' do
  interact(:bash)
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ydkn/sshkit-interact.

License

The gem is available as open source under the terms of the MIT License.

About

Interactive command execution for SSHKit (using SSH binary)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 96.7%
  • Shell 3.3%