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

i2ssh

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i2ssh

SSH into to a cluster of machines using iTerm 2 split panes on OSX.

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
1

i2ssh

ssh into to a cluster of machines using iTerm 2 <http://www.iterm2.com>_ split panes on OSX.

|pypi|_ |buildstatus|_

Installation


::

$ pip install i2ssh

Usage


::

$ cat ~/.i2sshrc
---
mycluster:
  hosts:
    - host1.domain.net
    - host2.domain.net
    - host3.domain.net
    - host4.domain.net

$ i2ssh mycluster

Command-line arguments


::

$ i2ssh -h
usage: i2ssh [-h] [-c CONFIG] [-v] cluster

positional arguments:
  cluster               the cluster to connect to.

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        the config file to use (default "~/.i2sshrc").
  -v, --verbose         increases log verbosity.
  -l, --list            list the clusters in the config file.

Config file


::

---
# the name of the cluster.
mycluster:

  # the command to execute in every pane, defaults to 'ssh'.
  # the hostname for that pane will be appended to the
  # command before being executed, resulting in something
  # like 'ssh host1.domain.net'.
  cmd: 'ssh'

  # the remote user to log into as, defaults to the local user.
  user: 'username'

  # how to split the window, defaults to 'sqrt(n) x (n/cols)'.
  layout: '2x2'

  # position and size for the new window, defaults to
  # maximize within the available space on screen. the format
  # is (x, y, width, height).
  window: '0, 0, 1440, 900'

  # the time to wait between scripting commands, in seconds.
  # defaults to 0.1
  delay: 0.1

  # the list of hosts to execute the command for.
  hosts:
    - host1.domain.net
    - host2.domain.net
    - host3.domain.net
    - host4.domain.net

.. |buildstatus| image:: https://img.shields.io/travis/mbruggmann/i2ssh/master.svg .. _buildstatus: https://travis-ci.org/mbruggmann/i2ssh .. |pypi| image:: https://img.shields.io/pypi/v/i2ssh.svg .. _pypi: https://pypi.python.org/pypi/i2ssh

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

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