ssh/telnet URI handler
Submitted by Ryan Lovett
Link to original bug (#343934)
Description
While gnome-terminal supports the ability to click on web URIs, it'd be nice if it could also respond to clicking on ssh/telnet/rlogin/rsh URIs, e.g. ssh://user@hostname.com or even the pedantic (and unlikely) ssh://user:password@hostname.com. gnome-terminal could open another window or tab with the new SSH session.
If gnome-terminal could also respond to URIs on the command-line, it would also make it just slightly easier to support these protocol handlers via Mozilla web browsers, e.g.
pref("network.protocol-handler.app.ssh", "/usr/bin/gnome-terminal"); pref("network.protocol-handler.app.telnet", "/usr/bin/gnome-terminal");
assuming the URI is argv[1]. (the -e flag would require a helper script)
See http://nerd.earthside.org/howto/enable-telnet-uri-handling-in-firefox.html for more details.
Terminal.app, in Mac OS X, supports the handling of these URIs and, ironically, it makes the terminal feel more integrated into the OS. (in this respect) If you have access to a Mac, try clicking on an SSH URI.
I suppose one could somehow accomplish the above with helper scripts and/or some sort of gnome-vfs fu and/or gnome-default-applications-properties. As an end user, however, I'd just like the Right Thing to happen when clicking on a URI, even if ssh/telnet are thought to be used by only those who can hack their own way of doing this.
Version: 2.14.x