Rosh
Rosh is roaming shell. It can automatically reconnect to the host with the remote GNU screen session.
Installation
Add this line to your application's Gemfile:
gem 'rosh'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rosh
Usage
rosh [options] hostname [GNU_screen_session_name]
-a alive-interval Set ssh option ServerAliveInterval. Default: 5
-e escape Set the escape charactor of the outer screen session.
Default: "^t"
-I interval Reconnection interval.
To detach the outer screen session,
^t d
To send the command to the inner screen session,
^a
Currently it is not configurable, but the source code is very simple to be customizable.
Contributing
- 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
) - Create new Pull Request