Firefox ssh protocols handlers

Bug #3554 reported by Leen Toelen
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Won't Fix
Wishlist
Mozilla Bugs
mozilla-firefox (Ubuntu)
Invalid
Medium
Unassigned
ubufox (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I found this on geeklog at http://www.asyd.net/home/geeklog?DokuWiki=759f8f9926bc09e4e026de85ae7b1677#firefox_protocols_handlers

It would be great to add this to the default firefox settings in ubuntu.

In order to have Firefox launch a gnome-terminal for url which begin in ssh/telnet, I wrote a little script and made some changes in about:config

prefs.js

user_pref("network.protocol-handler.app.telnet", "/home/asyd/bin/firefox-handler.zsh");
user_pref("network.protocol-handler.app.ssh", "/home/asyd/bin/firefox-handler.zsh");

firefox-handler.zsh

#!/bin/zsh

url=$1

proto=${url//:*/}
data=${${url//*:\/\//}%/}

/usr/bin/gnome-terminal -e "$proto $data"

Tags: mt-eval
Changed in mozilla-firefox:
assignee: nobody → ijackson
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

I'd also like to see this addressed. Safari handles ssh:// links and it'd be great if Linux web browsers (and gnome-vfs apps) could support this as well.

More info:
http://nerd.earthside.org/howto/enable-telnet-uri-handling-in-firefox.html

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

One task is enough. mozilla-firefox is provided to ease upgrading to the new firefox package.

Changed in mozilla-firefox:
status: Unconfirmed → Rejected
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

Does this mean the bug is still open for firefox?

Changed in firefox:
status: Unconfirmed → Confirmed
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

Yep. The firefox task is still open.

Ian Jackson (ijackson)
Changed in firefox:
assignee: ijackson → nobody
Changed in firefox:
assignee: nobody → mozilla-bugs
Revision history for this message
dn (nobled) wrote :

(old bug) Would this be a good idea for ubufox?

Revision history for this message
Alexander Sack (asac) wrote :

once there is a gconf handler for this scheme by default in ubuntu, i will reconsider this.

Changed in ubufox (Ubuntu):
status: New → Won't Fix
Changed in firefox (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote : Re: [Bug 3554] Re: Firefox ssh protocols handlers

On Tue, Sep 15, 2009 at 12:45:16AM -0000, Alexander Sack wrote:
> once there is a gconf handler for this scheme by default in ubuntu, i
> will reconsider this.

Should this bug be reassigned to gconf? Otherwise can you keep this bug
open until then as wishlist?

Ryan

Revision history for this message
qk4l (reg-tem4uk) wrote :

I can`t get correct working with firefox 3.6..

Also I find more nice script on bash

#!/bin/bash
gnome-terminal -e "ssh `echo $1 | sed -e "s/ssh:\/\///"`"

Revision history for this message
Tsepo (m0rph3us) wrote :

#!/bin/bash
gnome-terminal -e "ssh `echo $1 | sed -e "s/ssh:\/\///"`"

using above script, just opens for 2 seconds and closes.
how can i have terminal display new devices in tabs and not open new window.

Thanks in-advance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.