Using ClusterSSH for multiple ssh sessions

27 04 2011

If you like me, sometimes requires typing same command in multiple ssh connections to remote servers, this is a useful tool: ClusterSSH. HomePage: http://sourceforge.net/projects/clusterssh/

At this moment I’m in Ubuntu 10.4, so:

Installation

Simple use aptitude to install the package:

sudo aptitude install clusterssh

Usage

Just open your regular terminal and type in this command:

cssh -l <username> <server1> <server2> …

That will open several terminals and also will open CSSH window. So, whatever you type in that windows will be reflected in every server!!!

As always you also can edit /etc/clusters file to put your own configurations, for more information visit the Home Page of the project.

Conclusion

This is a good tool to speed things up when handling multiple servers, however you should be very CAREFUL with it.

Advertisement

Acciones

Información

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s




Seguir

Get every new post delivered to your Inbox.