Use partial .term files for quick launch SSH sessions

May 27, '03 08:54:00AM

Contributed by: domger

If you have to daily manage many servers using SSH, you can create bookmark files easily by using "partial" .term files...

I had already created tons of .term file for every server. But when I decided to remove anti-aliasing to gain speed, I found that changing every .term file is quite boring. Instead of that, I removed every "common" attribute from all the .term files, and I keep only the things I want different in each of them. Terminal.app default settings are automatically used for all other settings!

A sample myserver.term file (the DOCTYPE line has been split onto two rows for narrower display):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>WindowSettings</key>
    <array>
      <dict>
        <key>CustomTitle</key>
        <string>My server name</string>
        <key>ExecutionString</key>
        <string>ssh myserver.mydomain.com; exit</string>
      </dict>
    </array>
  </dict>
</plist>
Put all your .Term files in a folder. Drag the folder in the Dock... VoilĂ ! Instant access to multiple Terminal files.

Comments (5)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030523103916663