Wemux::Pair
Firewall-punching remote pairing with wemux made easy
Requirements
Have a box that is accessible to both users via ssh.
First time set up for hosts (assuming OSX):
- Create a
user. - Give that user remote login access via System Preferences>Sharing>Remote Login
- Add client's ssh keys to ~
/.ssh/authorized_keys - In ~
/.bash_profile should be: "wemux attach; exit"
Installation
Add this line to your application's Gemfile:
gem 'wemux-pair'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wemux-pair
Usage
Generate .pair.yml
configuration, run $pair --init
Print Usage: $ pair --help
Host: Start a wemux session
Then run $ pair host
Client: Ensure you're not in a wemux/tmux session
Run $ pair <host port>
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