Alex Girard home in English en Francais

SSH Connect sortcut

3 Jun 2008 – Madrid

With dozens of ssh connections each days, you better need a shortcut way to make it faster. Frustation comes to a end with this script:

Put this ruby script in your bin directory, make it executable, add your servers info hash in the array, and eventually copy your ssh public key in the various servers to never be asked for password.

When executing it, you can give it the ‘id’ as an argument, and it will connect automatically to the server with the corresponding id!

blog comments powered by Disqus