JellyfiSSH – Restoring bookmarks from an older version

Its my first post for a while, the summer has been busy! So while my iMac is at the repair shop getting a screen problem fixed, I’m ‘slumming it’ on a Mac Book Pro. As i’ve a job to do this weekend involving lots of logins to Cisco devices I thought I’d make things easy by backing up the JellfiSSH config (bookmarks) from the machine at work and restoring them to the laptop when I got home. The issue is that the Mac at work is still pre-Lion and using an older version of JellyfiSSH, which meant the restore did not work.

After some examination of the backup file from work (older) and a test backup file from the MBP, I realised that the entries are longer in the new versions.

Here is a sample entry of the new format:

--snip--
<array>
<string>avs1</string>
<string>10.10.10.10</string>
<string>username</string>
<string>SSH 2</string>
<string>3des</string>
<string>80</string>
<string>40</string>
<string>1</string>
<string>0</string>
<string>0</string>
<string>0</string>
<string>1</string>
<string>0.9723942</string>
<string>0.9846167</string>
<string>1</string>
<string>22</string>
<string>Monaco</string>
<string>10</string>
<string>/bin/bash</string>
<string></string>
<string></string>
<string></string>
<string></string>
<string>0</string>
<string></string>
<string>1</string>
<string>Unicode (UTF-8)</string>
<string>1</string>
<string>Main</string>
<string>1</string>
<array/>
<string>0</string>
<string></string>
<string>xterm-color</string>  #MISSING IN OLD FILE
<string>1</string>            #MISSING IN OLD FILE
<string>xterm-color</string>  #MISSING IN OLD FILE
<string>1</string>            #MISSING IN OLD FILE
</array>
--snip--

I resolved this by doing a multiline search and replace in the text edit programme. All working now!

This entry was posted in Macintosh and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *