Skip to main content

ssh wrappers to transparently use chef node names instead of hostnames

Project description

Inspired by ec2-ssh from instagram, this uses the pychef library to allow you to address your hosts by their chef node name instead of the dns name.

This differs from knife ssh because these tools operate with interactive shells, and are meant for working with 1 node at a time.

Prerequisities

You need to have an installed and configured chef client on your machine. The code uses the pychef autoconfigure() to discover and load the chef configuration

Usage

chssh node1 # ssh to chef node node1

chssh user@node1 # ssh as user to chef node node1

chscp file user@node1:path # scp file to chef node node1

chscp user@node1:path . # scp file from chef node node1

Enjoy!

Project details


Release history Release notifications

This version
History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
chssh-0.4.2.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Dec 10, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page