Awesome Open Source
Awesome Open Source

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...] [email protected]: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 [email protected]:7222 [email protected]

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 [email protected]:7222 -verbose [email protected] [email protected]ination

Credits

Contributing

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

License

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

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Ruby (221,664
User (47,472
Network (37,704
Proxy (24,758
Port (20,028
Ssh (14,451
Firewall (3,252
Tunnel (2,790
Tunneling (557
Remote Shell (149
Jump (58
Multihop (6
Multihost (6