= Overview = This page includes instructions about how to enable the ssh type links: {{{ ssh://nriga@pc1.example.net:3090 }}} To work from a Firefox browser in an Ubuntu system, i.e. to actually open a terminal and execute: {{{ ssh nriga@pc1.example.net -p 3090 }}} = Instructions = These instructions worked for Ubuntu 12.04 and Firefox 15.1. For comments email [mailto:help@geni.net] * Copy this script in your system {{{ #!/bin/sh eval `echo $1 | sed -r -e 's,(.+)://([A-Za-z0-9_]+@)?([A-Za-z0-9\.]+)(:[0-9]+)?,r="\1";u="\2";h="\3";p="\4",' -e 's,[:@],,g'` echo protocol=$r, user=$u, host=$h, port=$p PROTO=$r USER=$u HOST=$h PORT=$p if [ -z "$PORT" ]; then /usr/bin/gnome-terminal -e "$PROTO -l $USER $HOST" else /usr/bin/gnome-terminal -e "$PROTO -l $USER -p $PORT $HOST" fi }}} * Make the script executable * Follow [http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above these instructions]. * When the firefox pop-up window comes up to ask you to choose an application for ssh, navigate to the above script '''Notice''': For some reason the first time you try to access an ssh address it should be by pressing an ssh link and not by typing an ssh-type URL in the location bar.