Skip to main content

chssh – Interactive ssh and scp for chef server

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!

Metadata

Release files for chssh 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chssh 0.4.2
File Size Uploaded
chssh-0.4.2.tar.gz 2.8 kB Details

Release files / chssh-0.4.2.tar.gz

Download URL chssh-0.4.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
16e6285547bbce0cf6d222613856bb570f16dd3e5ee1c8f9c14e41586980affe
BLAKE2b-256 checksum
How to use checksums
1f94714b9dcc2abcbdad998b63282328d79e55598624131c9c264f9f9f79971f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.2 This release

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.1

1 release file

0.3

2 release files

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page