Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple apple script to launch an iTerm.app window with multiple tabs that connects to a bunch of servers.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
iTermQuickMultipleSSH.applescript
servers.txt

README.md

iTerm-QuickMultipleSSH, Mac iTerm multiple servers ssh login

iTerm-QuickMultipleSSH consists in a applescript that allows to launch a single window of the great iTerm.app on your Mac OS X with multiple tabs that automatically login via ssh on a list of servers previously selected.

USAGE

Right now you just need to run the applescript and make sure you have the file "servers.txt" in the same directory has the "iTermQuickMultipleSSH.applescript" with one server hostname for each line.

Also having your public keys authorized on each server you want to connect would be really helpful :P Otherwise you will have to introduce your password for each server on each tab...

If you need more things, check the code and hack it!

TODO

  • Allow an option to read the servers hostnames directly from a hardcoded variable (not smart, but handy for quick changes).
  • Specify a key file (useful if you have .pem keys to connect for instance to a few EC2 servers).
  • Better USAGE explanation for a more customized usage.
  • Receive parameters in order to make it work with different server files (not sure about this one yet).
  • Not try to login has root only (all said...).

LICENSE

Just feel free to use it and modify it!

THANKS

  • Daniel Aguilar, who developed an original script that allowed me to improve it.
  • Applescript, that old-crappy language widely bad documented in a lot of 90's websites.
Something went wrong with that request. Please try again.