🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

stups-ssh-tunnels

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stups-ssh-tunnels

Convenience tool to create SSH tunnels to cluster applications on AWS

0.1
PyPI
Maintainers
1

=========== SSH Tunnels

Convenience tool to create SSH tunnels to cluster applications on AWS.

Example cluster applications would be:

  • Kafka
  • Zookeeper
  • Cassandra

This tool automatically adds the private VPC IPs to your local loopback lo interface and to your /etc/hosts file. Cluster nodes can be accessed directly from your local machine.

.. code-block:: bash

$ tunnels my-senza-stack 9092 odd-eu-central-1.myteam.example.org --region eu-central-1

Installation

.. code-block:: bash

$ git clone https://github.com/zalando-stups/ssh-tunnels.git
$ cd ssh-tunnels
$ sudo python3 setup.py install # remove "sudo" if you have user-local Python setup

Usage

Connecting to a Cassandra cluster deployed with Senza:

.. code-block:: bash

$ piu odd-eu-west-1.myteam.example.org SSH tunnel to Cassandra for keyspace management
$ tunnels my-cassandra 9042 odd-eu-west-1.myteam.example.org --region eu-west-1
# open a new terminal
$ cqlsh 172.31.141.1 # take one seed IP printed by tunnels.py

Keywords

tunnels aws stups

FAQs

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