mole v2.0 releases: cli app to create ssh tunnels

create ssh tunnels

Mole is a cli application to create ssh tunnels, forwarding a local port to a remote address through an ssh server.

Features

  • Auto local address selection: find a port available and start listening to it, so the -local flag doesn’t need to be given every time you run the app.
  • Aliases: save your tunnel settings under an alias, so it can be reused later.
  • Leverage the SSH Config File: use some options (e.g. username, identity key and port), specified in $HOME/.ssh/config whenever possible, so there is no need to have the same SSH server configuration in multiple places.

Use Cases

  • Access a computer or service behind a firewall

    Mole can help you to access computers and services outside the perimeter network that are blocked by a firewall, as long as the user has ssh access to a computer with access to the target computer or service.

  • Access a service that is listening only on a local address

Changelog v2.0

Added

  • Add CHANGELOG.md file to track changes on releases [89290e8]
  • Add new command to show running configuration of any mole instance [#161]
  • Stop foreground instances using the stop command [#158]
  • Add new command, misc rpc to explicitly execute procedures on running instances of mole [#148]
  • rpc server (disabled by default) [#146]
  • New flag to pass SSH config file path [#136]
  • Add new command: show logs [#132]

Changed

  • Change output of “show alias” to toml format. [#144]
  • Skip private key authentication in case of error (encrypted without passphrase, wrong format, …) [#159] [#169]
  • Close reader/writer on ssh channel when finished or error occurs [#159]
  • Don’t fail but create new empty config when no config (empty string) file was used [#159]
  • Fix start alias flag parsing [#157]

Install

bash <(curl -fsSL https://raw.githubusercontent.com/davrodpin/mole/master/tools/install.sh)

Use

Tutorial

Copyright (c) 2018 David Pinheiro

Source: https://github.com/davrodpin/