Skip to main content

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

Project description

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

pypi buildstatus


$ pip install i2ssh


$ cat ~/.i2sshrc

$ 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.

  # 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'.
  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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for i2ssh, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size i2ssh-0.4.0.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View
Filename, size i2ssh-0.4.0-py2.py3-none-any.whl (10.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page