![]() For example the following line in /etc/clusters will enable you to connect to 5 servers by just running: csshx mylist.Edit /etc/clusters to make short tags to connect to many servers under one name – the list is space separated with the first word used as the tag and the following items as URLs.Toggle between master control and individual sessions by clicking on the respective Terminal window.apt-get install clusterssh to get cssh for your Linux Debian / Ubuntu desktop.Utilize SSH keys to facilitate secure logins.Easily install csshX with Homebrew, a great package manager for OS X.You can also select an individual client connection and work on that independently and then switch back to the control terminal for en masse control.ĬsshX utilizes the built in OS X Terminal application but can be invoked from iTerm2 or whatever alternative terminal you might use. What you type into the red control terminal is sent to all the client terminals. The tool neatly tiles all the connections and a red control terminal opens across the bottom of the screen. 1) Log in: csshX server1 server2 server3 server4 and 2) restart apache: service apache2 restart – so cool!ĬsshX will make an SSH connection to any number of servers, opening each in a separate terminal window. If this sounds familiar, then csshX (Cluster SSH for OS X) is your friend!įor example, restarting Apache on 4 machines takes just two steps. Servers (and other SSH enabled devices like switches, routers and Raspberry Pis) multiply like rabbits in today’s cloud-ready world and sys admins often need to perform the same task on many remote server instances via SSH.
0 Comments
Leave a Reply. |