Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codezavod/ssh-tunneler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codezavod/ssh-tunneler

Plugin for gemini and hermione to set up ssh tunnel while running tests

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ssh-tunneler Build Status

Forked from https://github.com/gemini-testing/ssh-tunneler

Plugin for gemini and hermione to set up ssh tunnel while running tests.

Install

$ npm install ssh-tunneler

Configuration

  • host (mandatory) String – address of a remote host to which ssh tunnel will be established
  • ports (mandatory) Object - ports range on a remote host; port will be picked randomly from this range
    • min Number – min port number
    • max Number - max port number
  • localport (mandatory) Number - available port on a local machine
  • user (optional) String - user to connect to a remote host
  • sshPort (optional) Number - port which should be used to create ssh tunnel, default is 22
  • retries (optional) Number - the number of attempts to establish a tunnel, default is 5
  • protocol (optional) String - protocol which will be used in a resulting base url, default is http
  • enabled (optional) Boolean - switch on/off the plugin; the plugin is switched on by default.
  • urlDecorator (optional) Function - provides the ability to decorate a resulting base url; function accepts two arguments - 1) a current value of a base url, 2) an instance of a created ssh tunnel

Usage

gemini

Add the plugin to your configuration file:

module.exports = {
    system: {
        plugins: {
            'ssh-tunneler/gemini': {
                // configuration
            }
        }
    }
};

hermione

Add the plugin to your configuration file:

module.exports = {
    plugins: {
        'ssh-tunneler/hermione': {
            // configuration
        }
    }
};

Keywords

FAQs

Package last updated on 07 Jun 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc