Project

polyssh

0.0
No commit activity in last 3 years
No release in over 3 years
Multi-hop SSH tunneling tool.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

 Project Readme

PolySSH

Travis-CI Code Climate

A multi-hop SSH connection tool.

Installation

Simply type :

$ gem install polyssh

Usage

$ polyssh [..list of ssh options and intermediate hosts...] user@host:port

You can use as many intermediate hosts as you need.

Example 1 : Traversing a single machine

We want to connect

  • to a remote host called destination (as user bob, on default port)
  • via a firewall (as user alice, on non-default port 7222)

The corresponding command using polyssh is :

$ polyssh alice@firewall:7222 bob@destination

Example 2 : traversing two machines with options

We want to connect

  • to a remote host called destination (as user charlie, on default port)
  • via a firewall (as user alice, on non-default port 7222)
  • then via a router (as user bob, on default), with verbosity)

Type the following command using polyssh :

$ polyssh alice@firewall:7222 -verbose bob@router charlie@destination

Credits

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/glenux/polyssh.

License

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