You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gemini-tunnel

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-tunnel

Plugin for setting up ssh tunnel while running tests with Gemini

1.4.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
5
Weekly downloads
 
Created
Source

gemini-tunnel

Build Status

Plugin for setting up ssh tunnel while running tests with Gemini.

Installation

npm install gemini-tunnel

Configuration

  • host Address of remote host to which tunnel which will be established.
  • ports Ports range on remote host, port will be picked randomly from this range. If required to set specific port, min and max values must same.
  • ports.min Min port number.
  • ports.max Max port number.
  • localport Available port on local machine.
  • user (optional) User to connect to remote host
  • enabled (optional) Determines is plugin enabled. If option set as false, plugin will do nothing, otherwise plugin will work.
  • retries (optional) Number of attempts to establish tunnel. Defaults to 5 times.
  • protocol (optional) Protocol which will be used in resulting root url. Defaults to http
  • hostDecorator (optional) Function which can be used to decorate hostname before it will be written into rootUrl

Set the configuration to your .gemini.js

system: {
  plugins: {
    gemini-tunnel: {
      host: 'remote_host_address',
      user: 'user',
      ports: {
        min: 8000,
        max: 8100
      },
      localport: 8080,
      enabled: true,
      retries: 3,
      protocol: 'https',
      hostDecorator: (baseHost) => { // hostname from the original rootUrl
        return /^m\./.test(baseHost)
          ? 'm.remote_host_address'
          : 'remote_host_address'
      }
    }
  }
}

If passed config is not an object, plugin will do nothing.

Keywords

gemini

FAQs

Package last updated on 03 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.