为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

ssh in application

  • 5 个回答
  • 0 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

How can i add "ssh" under Settings > General > Applications so that i can select the Action pointing to my ssh application?

How can i add "ssh" under Settings > General > Applications so that i can select the Action pointing to my ssh application?

所有回复 (5)

more options

To add "ssh" under Settings > General > Applications in Firefox, you need to manually create an entry for the ssh protocol in Firefox's configuration settings. Here's how:

1)In Firefox, type "about:config" in the address bar and hit Enter. 2)Click on the "Accept the Risk and Continue" button if it appears. 3)In the search bar, type "network.protocol-handler.expose.ssh". 4)Double-click on the "network.protocol-handler.expose.ssh" preference to set it to "true". 5)Next, search for "network.protocol-handler.external.ssh". 6)Right-click on the "network.protocol-handler.external.ssh" preference and select "New" > "String". 7)In the "Enter the preference name" box, type "network.protocol-handler.app.ssh". 8)In the "Enter string value" box, type the path to your ssh application. For example, "/usr/bin/ssh". 9)Click the "OK" button to save the preference. 10)Now when you try to open an ssh link, Firefox should prompt you to choose an action, and you should be able to select your ssh application.

more options

Hi Mich,

thank you for your reply. i dont know if i did it correctly because its not the same procedure as what you said. my firefox version is 94.0.2. Its a standalone and I am not allowed to update it. see attached snapshot. after doing that, i still cant see the ssh under application. See also the other snapshot.

more options

I think that the above posted steps only apply to Linux. On Windows you need to register a protocol and set the preferred application in the OS, so it gets stored properly in the Windows Registry. Then, when Firefox sees this protocol on a webpage, it will offer to handle this protocol with the default application.

more options

hi co-rel,

thank you for the reply. actually i have an original user in windows that shows the ssh under the applications of the firefox. and i dont see any handlers on that user.. then i created a new windows user but the firefox didnt show the ssh under the applications.

more options

Does that SSH still works for that users as that might have been a leftover ?

You can check handlers.json of the user that has SSH and possibly copy that section to your current handlers.json if the application it points to is still an installed application.