• Overview
  • Deploying MCollective
  • Configuration / Deployment Topics
  • Use and Administer MCollective
  • Write Agent Plugins
  • Write Clients and Applications
  • Write Other Plugins
  • Plugin Directory
  • Internals
  • Older and Non-Recommended Information

MCollective Plugin: Discovery-Assisted SSH


If you’re using the discovery filters heavily, you might also want to use SSH based on these filters. We have 2 client scripts that help you do this at GitHub.

The first uses the Highline gem and looks something like this:

% mc-ssh -W country=za -- -l root
1. node1.your.com
2. node2.your.com
3. Exit
Running: ssh node1.your.com -l root
Last login: Sat Dec 18 17:01:35 2010 from nephilim.ml.org

The second uses the RDialog gem to display the menu using a curses UI.

See an issue? Please file a JIRA ticket in our [DOCUMENTATION] project
Puppet sites use proprietary and third-party cookies. By using our sites, you agree to our cookie policy.