jf_to_scrt.pl – Convert your JellyfiSSH bookmarks to SecureCRT sessions

For years I’ve been wanting SecureCRT on my OS X laptop. Once I heard they were working on it I started sending them suggestions. One of those suggestions was that they should add support for importing JellyfiSSH bookmarks, as it is one of the most popular session managers for OS X and connection lists tend to grow very large over time. I, for instance, had 253 saved bookmarks in JellyfiSSH. Despite the SecureCRT for OS X beta having been going on for a while, I haven’t been giving it the workout it deserved, primarily because I would have to re-enter all of my active bookmarks.

Being the ‘lazy developer’ that I am, rather than spend an extra few minutes every time I want to connect to a new server I decided to spend an hour writing a conversion utility. It seems to work for me. If you are giving the SecureCRT for OS X beta a try, and you have one or more bookmarks in JellyfiSSH, why don’t you give my converter a try and let me know if it works for you.

Unlike most Mac software, this is pretty much geared towards unix geeks using OS X. To run this script, you need to have MacPorts installed, with perl and XML::Simple installed. But, then, if you are a heavy user of ssh then you are already not the average Mac user.

Download the latest version: jf_to_scrt-latest.tgz

If you wish to receive notifications when updates are published, visit the Freshmeat project page, and subscribe to this project.

##########################################################################
# jf_to_scrt.pl  version .03-beta                                        #
#                                                                        #
# History and information:                                               #
# http://www.ghostwheel.com/merlin/Personal/notes/jf-to-scrt/            #
#                                                                        #
# Synapsis:                                                              #
#   This script converts all of your JellyfiSSH bookmarks to SecureCRT   #
#   session files.                                                       #
#                                                                        #
#     It preserves:                                                      #
#     - Groups                                                           #
#     - Session Name                                                     #
#     - Session Type (ssh1/ssh2/telnet)                                  #
#     - Host                                                             #
#     - Username                                                         #
#     - SSH Tunnels                                                      #
#                                                                        #
#   It adjusts several SecureCRT user specific directories to match the  #
#   username that runs this script.                                      #
#                                                                        #
#                                                                        #
# Usage:                                                                 #
#   jf_to_scrt.pl                                                        #
#                                                                        #
##########################################################################
#                                                                        #
# Notes:                                                                 #
#                                                                        #
# As currently written, this script requires that MacPorts be installed, #
# along with the following ports:                                        #
#                                                                        #
# - perl (lang/perl5, lang/perl5.10, lang/perl5.12 or lang/perl5.8)      #
# - XML::Simple (perl/p5-xml-simple)                                     #
#                                                                        #
##########################################################################
#                                                                        #
# Version .01-beta initial release                                       #
#                                                                        #
# Version .02-beta Added a variable for easily setting the default color #
#                  scheme for sessions.                                  #
#                                                                        #
# Version .03-beta Added support for detecting telnet/ssh1/ssh2 configs  #
#                  and setting up the SecureCRT profile accordingly.     #
#                  Writes notice to screen when skipping an unconfigured #
#                  session type.                                         #
#                                                                        #
# Version .04-beta Added settings so that converted sessions use xterm   #
#                  with color, since that is the default of Apple        #
#                  terminal when launched by JellyfiSSH.                 #
#                                                                        #
# Version .05-beta Resolved a critical bug where custom ports were not   #
#                  detected and migrated.                                #
#                                                                        #
##########################################################################

[ad#adsense-horizontal]

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>