X
Tap here to go to the mobile version of the site.

Support Forum

Looking for a SSH Client for Firefox OS

Posted

I'm looking for a SSH Client for Firefox OS (1.3).

For a "normal" version of the firefox browser a FireSSH Add-on is available, but unfortunately it can't be installed in the mobile version.

Greetings

Michael

I'm looking for a SSH Client for Firefox OS (1.3). For a "normal" version of the firefox browser a FireSSH Add-on is available, but unfortunately it can't be installed in the mobile version. Greetings Michael

Chosen solution

Hi Michael,

This is awesome! Thank you for your contribution to the Support at Mozilla (SUMO) forums and for pushing these code changes so that Anyterm works well with Firefox OS.

I will point Firefox OS users who are looking for an SSH client to this solution in the future.

Thanks,

- Ralph

Read this answer in context 2

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

More Information

iamjayakumars 489 solutions 5950 answers
Its in bug, *https://bugzilla.mozilla.org/show_bug.cgi?id=878972

Question owner

I tried to find a workaround and made some tests today.

So I tried to solve this issue by installing anyterm on my raspberry device and use this remotely via the Firefox Browser on the Firefox OS phone. The problem is: The keypad doesnt appear on the screen of the smartphone.

How can I fix this ?

Greetings

Michael

I tried to find a workaround and made some tests today. So I tried to solve this issue by installing ''[http://anyterm.org anyterm]'' on my raspberry device and use this remotely via the Firefox Browser on the Firefox OS phone. The problem is: The keypad doesnt appear on the screen of the smartphone. How can I fix this ? Greetings Michael

Modified by Michael

Ralph Daub
  • Locale Leader
158 solutions 1182 answers

Hi Michael,

I'm impressed by the thinking outside the box that you've done and coming up with this "almost" solution!

Unfortunately, as you've found out, it seems that the Firefox browser within Firefox OS doesn't recognize Anyterm's terminal as a text input. I'm not sure if there is any workaround that can be done for this.

Since this is an advanced support inquiry and beyond the usual use-case scenario, I would advise posting this question on Stack Overflow or making a post on Anyterm's Discussion Forums for more help.

We do look forward to hearing back from you if you find a solution. Please keep us posted. =)

Thanks,

- Ralph

Hi Michael, I'm impressed by the thinking outside the box that you've done and coming up with this "almost" solution! Unfortunately, as you've found out, it seems that the Firefox browser within Firefox OS doesn't recognize [http://anyterm.org/ ''Anyterm'']'s terminal as a text input. I'm not sure if there is any workaround that can be done for this. Since this is an advanced support inquiry and beyond the usual use-case scenario, I would advise posting this question on [http://www.stackoverflow.com Stack Overflow] or making a post on [http://anyterm.org/forums/ Anyterm's Discussion Forums] for more help. We do look forward to hearing back from you if you find a solution. Please keep us posted. =) Thanks, - Ralph

Question owner

I have contacted the developer of anyterm. This is his answer to my question if he as any idea how to fix the issue:

Not in detail, but the same issue applies on other mobile OSes. You need to modify the HTML so that it contains an element that the browser recognises as a text input (e.g. an <INPUT> element) and make it take focus, but remain visually hidden or at least small. Someone who is more familiar with these browsers than me could probably do it easily.

I have contacted the developer of anyterm. This is his answer to my question if he as any idea how to fix the issue: ''Not in detail, but the same issue applies on other mobile OSes. You need to modify the HTML so that it contains an element that the browser recognises as a text input (e.g. an <INPUT> element) and make it take focus, but remain visually hidden or at least small. Someone who is more familiar with these browsers than me could probably do it easily. ''

Question owner

Proof of concept:

Placing this

. .

<form><input type="text" size="0"></form>

</body> </html>

into browser/anyterm.html will work, if you set the focus to the input field. I have to do some java script or css coding to put this field into the background of the "terminal window" and make it look more professional.

Greetings Michael

'''Proof of concept:''' Placing this . . <div id="term"></div> ''<form><input type="text" size="0"></form>'' </body> </html> into browser/anyterm.html will work, if you set the focus to the input field. I have to do some java script or css coding to put this field into the background of the "terminal window" and make it look more professional. Greetings Michael

Modified by Michael

Question owner

Now I have modified the browser/anyterm.js to create a textarea overlapping with the console area. If you tap on it (for better visibility marked with a yellow frame in the picture), the keypad will appear in the browser. There is no modification in browser/anyterm.html required.

Greetings Michael

Now I have modified the browser/anyterm.js to create a textarea overlapping with the console area. If you tap on it (for better visibility marked with a yellow frame in the picture), the keypad will appear in the browser. There is no modification in browser/anyterm.html required. Greetings Michael

Helpful Reply

This ist the final version with browser detection and textarea in the first (left) 50% of the terminal.

I will send this changes to the developer of Anyterm, so that everyone who is interested in that kind of solution can download it from www.anyterm.org.

Greetings Michael

This ist the final version with browser detection and textarea in the first (left) 50% of the terminal. I will send this changes to the developer of Anyterm, so that everyone who is interested in that kind of solution can download it from www.anyterm.org. Greetings Michael

Question owner

Preliminary version without review and without any warrenty: http://guthuhn.de/download/anyterm_firefox_os_extension_1.1.29.tar (actual development branch 1.1.29 from www.anyterm.org needed)

Place the two files into the subfolder 'browser' and execute 'make' to build the modified anytermd.

Preliminary version without review and without any warrenty: http://guthuhn.de/download/anyterm_firefox_os_extension_1.1.29.tar (actual development branch 1.1.29 from www.anyterm.org needed) Place the two files into the subfolder 'browser' and execute 'make' to build the modified anytermd.
Ralph Daub
  • Locale Leader
158 solutions 1182 answers

Chosen Solution

Hi Michael,

This is awesome! Thank you for your contribution to the Support at Mozilla (SUMO) forums and for pushing these code changes so that Anyterm works well with Firefox OS.

I will point Firefox OS users who are looking for an SSH client to this solution in the future.

Thanks,

- Ralph

Hi Michael, This is awesome! Thank you for your contribution to the Support at Mozilla (SUMO) forums and for pushing these code changes so that Anyterm works well with Firefox OS. I will point Firefox OS users who are looking for an SSH client to this solution in the future. Thanks, - Ralph