I wonder why a website should open an ssh connection, and not simply give instructions for using the command line. Anyway, I don't know if firefox has some add-on to handle ssh connections, but you can easily create a script which opens a terminal and launch a ssh session from there, e.g.
Code:
#!/bin/bash
url=$1
protocol=${url//:*/}
machine=${url//*:\/\//}
machine=${machine%/}
/usr/bin/gnome-terminal -e "$protocol $machine"
Here, some string manipulation is done to retrieve protocol (ssh) and hostname from the URL. Then it will open a terminal which executes the ssh command. In this example I have choosen gnome-terminal, but depending on your desktop manager you can choose another one (i.e. konsole or xterm).
Then in firefox user preferences set things to handle ssh protocol by means of this script. For example, in
about:config you can add a new string
Code:
network.protocol-handler.app.ssh
and give the value
Code:
/path/to/the/script.sh
Please note: I don't know about security risks for such a kind of procedure, but I hope this will help a little.