
Csshx iterm2 windows#
Your cursor will be in the bottom red window by default and input will appear in all the windows at the same time. This fires up Terminal, which runs the chef search, and opens separate windows. Protip: knife ssh can take cssh as an argument, so no awk and bash pipes required. Then, when I want to fire up csshX to a bunch of our our servers all at once, it usually looks like this.

I set it to Terminal because I wanted this to be separate from my usual workspace in iTerm 2 This step will change depending on the configuration management/service discovery framework of choice in your infrastructure.įirst, set the terminal app your alfred will use. If you are chef shop like mine, a lot of times what you are looking for is to ssh to all the machines of a certain type.
Csshx iterm2 mac#
What you needĪlfred app is my favorite launcher in mac but I suspect Quicksilver (if you are the quaint type) can also run commands directly to the terminal. Once downloaded, the csshX script can be run where it is, or copied into /usr/local/bin/ (or any other. iTerm2 is a replacement for Terminal and the successor to iTerm. is the Ruby community’s gem hosting service. Note: This is for a mac environment but you may emulate it in your favourite distro by replacing Alfred with whatever launcher you may use. This will open three Terminal windows, and ssh into hostname1, hostname2, and hostname3, connecting to one host per window. **** ERROR **** PerlObjCBridge: error sending message at /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/PerlObjCBridge.pm line 248.īut I wasn’t about to let that take away my terminalception magic :) **** ERROR **** PerlObjCBridge:: sendObjcMessage: Error converting argument 1 for message "setObject:forKey:" **** ERROR **** PerlObjCBridge:: convertArg() for index 2: convertPerlToObjC() failed **** ERROR **** PerlObjCBridge:: convertPerlToObjC(): Referenced thingy not blessed 08:58:42.473 perl5.18 CGImageDestinationFinalize failed for output type 'public.tiff' Mar 5 08:58:42 silvias-MacBookPro.local perl : ImageIO: CGImageDestinationFinalize image destination must have at least one image

Something in the dark magic of perl broke with an error that looks like this

I use Tmux usually but Tmux on the mac has not been playing nice with csshx for me.
