Skip to content

iOS client (iPad, iPhone) #198

Closed
Closed

Description

@a-b

Hello thanks for awesome product,

It would be insanely great to have iOS client so we can connect from iPad.

Activity

  1. saurik commented on Apr 16, 2012

    @saurik
    Contributor

    When #96 is integrated (which replaces the currently client requirements on a Perl script) I will get a copy of mosh into Telesphoreo (where it can then be installed via Cydia and used from other terminals, such as MobileTerminal or iSSH/Prompt to localhost). (I am also likely to integrate support for this protocol directly into a terminal app, although the lack of alternate screen support is currently driving me crazy enough to avoid using it much.)

  2. saurik commented on Apr 17, 2012

    @saurik
    Contributor

    (BTW, to be clear, the support that I was indicating I would help with would be for jailbroken devices: I'm the guy who runs Cydia, the alternative to apps for jailbroken iPhones, and Telesphoreo, the distribution of random Unix things for iOS. As mosh is GPLv3, it can not be deployed to the App Store, even as part of a terminal application designed to use it, due to an incompatibility with the App Store end-user terms of service and the GPL, which prevent the GPL code from granting its requisite rights to users.)

  3. aaronlake commented on Apr 17, 2012

    @aaronlake

    I'm kind of surprised that this isn't using the MIT license. =/

  4. saurik commented on Apr 17, 2012

    @saurik
    Contributor

    @aaronlake I had the same reaction, given the affiliation. (Although I then realized "wait, that's a silly connection to have in my head: I mean, RMS is at MIT after all ;P.)

    So, one very important thing to point out is that mosh uses a patented encryption algorithm called OCB that supposedly has a grant to projects that use the GPL. I use the word "supposedly", as in researching it it seems like this is somewhat contested, and that IBM may in fact hold patents that the person extending these grants (the researcher that developed OCB) has no control over, on which the work may be based, and which thereby end up having to be examined and negotiated. For some context on this:

    We tried to put OCB mode in 802.11i. So IBM sent a guy to explain the 'licensing terms' for their patents on OCB mode. The next vote in 802.11i after that presentation was to replace OCB mode with CCM.

    -- http://mobile.slashdot.org/comments.pl?sid=2779759&cid=39644831

    The battle would be, does mosh live under Rogaway's OCB patents which makes it free, or IBMs patents, which makes it unclear... From a "money is justice" perspective, I donno if ucdavis would win against IBM, but they'd have better odds than "just a bunch of random hackers" vs IBM.

    -- http://slashdot.org/comments.pl?sid=2779759&cid=39645753

    One can only conjecture who will have what enforceable rights. As for Jutla/IBM, I have been clear all along that OCB retains similarities to Jutla's IAPM. Intellectually, OCB owes much to Jutla's work. But whether or not IBM's patent covers OCB may depend on how broadly IBM's claims were crafted.

    -- http://www.cs.ucdavis.edu/~rogaway/ocb/ocb-back.htm#patent:others

    Rogaway, IBM, and VDG Inc., the three parties who could come to hold patents in this domain, have all sent in their patent-assurance letters to the IEEE.

    -- http://www.cs.ucdavis.edu/~rogaway/ocb/11-02-156r0-I-Some-Comments-on-WHF-Mode.pdf

    [To provide context on the previous statement, for people outside of standards processes: what is meant by "patent-assurance" for this purpose only means that it will be licensed without discrimination and at a reasonable price. The requested wording from the IEEE in this case was "the technology will be made available at minimal cost to all who seek to use it for compliance with the incorporated standard".]

    -- http://standards.ieee.org/about/sasb/patcom/loa-802_11-uc_davis-01jul1994.pdf

    What I am highly interested in, then, is whether the developers of this project actually want to use the GPL (a position I certainly respect: I personally release some of my projects under the GPL for various reasons), or made that decision mostly (or even entirely) due to pragmatic reasons involving having access to an OCB implementation that was easy to integrate (there was some talk on the mailing list regarding this, which I reference in the link below) and the requirement for the patent grant.

    http://mailman.mit.edu/pipermail/mosh-devel/2012-April/000114.html

    The reason this question seems reasonable, is that when the developers of Prompt (one of the two vaguely usable terminals available in the App Store) came on to the mosh mailing list asking about the license (not having come up with the App Store / GPL issue, but simply due to issues involving infection of their commercial codebase), the response from @keithw was not indicative of a normal "I purposely want GPL because of what it states" mentality:

    ... Changing the license isn't possible, but if you can
    recommend some steps to help us interface with your code in an
    arms-length manner, we're happy to try and help.

    -- http://mailman.mit.edu/pipermail/mosh-devel/2012-April/000070.html

    If that were the case (and I want to double-strong stress that "if": I do not want to argue to someone that they should not use the GPL if they want to; again: I use the GPL in various of my own projects and understand the mentality), then I would be further curious whether there is interest in swapping out the encryption algorithm and changing the license (which seems still vaguely possible, based on a back/forth on IRC by @kmcallister and @keithw) so that terminals such as Prompt could use the work and redistribute it in the App Store.

    05:35:49 < kmc> can we legally link to OpenSSL if we a) aren't compiling OCB in that build, and b) get the Mosh copyright holders to approve a standard GPL OpenSSL exemption?
    05:36:15 < KeithW> kmc: ... and rewrite the small GPL code that's not ours that we include? Yes.

    If so, I (along with some friends of mine that find cryptography sufficiently interesting to be building a company around two-factor authentication along with their professor) would be happy to expend the time/cost (which honestly is unlikely to be very high, so don't construe this as me trying to overplay my involvement for credit or guilt ;P I'm just saying I'd get the grunt work done that otherwise might block this from happening) to integrate an alternative algorithm (such as GCM, which was suggested on the mailing list at the beginning of the thread I referenced earlier regarding the practicalities of encryption libraries).

    What is your justification for using patented software (OCB mode) when
    many patent-free alternatives are available? The de-facto standard now
    is Galois/Counter (GCM) mode, which provides numerous advantages.
    ...

    -- http://mailman.mit.edu/pipermail/mosh-devel/2012-April/000112.html

  5. piannucci commented on Apr 17, 2012

    @piannucci
    Contributor

    @saurik, with help from Quentin Smith we got mosh to build with clang and run on iOS. The terminfo and locale databases previously on my iOS device were incomplete, and I recall not finding a replacement in Cydia. You'll want to package libprotobuf. The C++ wrapper also depends on libboost's regex-mt submodule, but I think the rest of the libboost dependencies in mosh are include-only?

  6. kmcallister commented on Apr 17, 2012

    @kmcallister
    Contributor

    The C++ wrapper also depends on libboost's regex-mt submodule, but I think the rest of the libboost dependencies in mosh are include-only?

    They're gone in the HEAD version of Mosh; see #158.

  7. saurik commented on Apr 17, 2012

    @saurik
    Contributor

    @piannucci Is the issue with the "incomplete" terminfo database that I need to ship a more recent version of ncurses? I already have a package for protobuf "waiting in the wings". (Is Clang actually a requirement? If so, that would be incredibly depressing for me, but if I can't fix that I'll deal.)

    I'm really just waiting on the C++ wrapper to go mainline (although if it does require boost in library form I might go ahead and port it myself to PCRE to drop the dependency; it would make more sense to do that, however, after the wrapper goes mainline, which one would presume would be soon).

  8. keithw commented on Apr 17, 2012

    @keithw
    Member

    Don't worry, we are not going to re-introduce a Boost dependency. :-)

  9. bored-engineer commented on Apr 19, 2012

    @bored-engineer

    I came here to fork this and make it run on a jailbroken iOS device. Only to see saurik beat me to it. Whatever happens I would love to test this once it gets further along. And know that there is certainly a market of people interested in this.

  10. rizwank commented on Apr 21, 2012

    @rizwank

    Fantastic!

  11. jsnyder commented on May 23, 2012

    @jsnyder

    Is there any further progress on this? I'd also love to see this working on iOS.

  12. davidjao commented on Jun 2, 2012

    @davidjao

    tl;dr: We could in principle change mosh to a BSD or MIT license and still use OCB. In contrast to the GPL, commercial or governmental users of a BSD/MIT-licensed mosh in the US would need a patent license for OCB but that's not our problem.

    Detailed version: I have emailed Prof. Rogaway (the inventor of OCB) privately and he has stated that his existing patent grant for OCB permits the use of OCB in BSD or MIT licensed software, provided that the software is distributed non-commercially and used in a non-commercial and non-governmental setting. These restrictions on distribution and use apply only in the United States; people in other countries who are not subject to US law would be free to use the software without restrictions.

    The exact terms of the patent grant are presented in http://www.cs.ucdavis.edu/~rogaway/ocb/offer.htm. There are two parts to the grant. One says that GPL software may use OCB without payment. The other says that non-commercial. non-governmental applications may use OCB without payment. The latter part is relevant to BSD/MIT-licensed software. It is possible for BSD/MIT-licensed software to be distributed non-commercially. Individual end users who take that software and use or distribute it commercially would be required to obtain a commercial license for OCB, but this does not apply to the original distributor as long as the original distribution is non-commercial.

  13. davidjao commented on Jun 26, 2012

    @davidjao

    Another point worth mentioning is that the Apple App Store is compatible with GPL version 2. (Ignore all the articles on the internet that say it isn't compatible. Those articles are outdated and based on old versions of the App Store terms of service. As of October 2011, the new terms of service are GPLv2-compatible.)

    Mosh is currently GPLv3 but I imagine relicensing to GPLv2 is at least as easy as relicensing to BSD. The advantage of GPLv2 is that the OCB patent grant would then apply to all situations, even commercial usage.

  14. chyldofthebeat commented on Jun 30, 2012

    @chyldofthebeat

    Adding my vote to see this get sorted out. Sounds like it'd be perfect for iOS devices

  15. nicowilliams commented on Jul 16, 2012

    @nicowilliams

    So, why use OCB? I don't get it. There are other non-patent encumbered AEAD cipher modes for AES. Just use one of those and make re-license Mosh under the MIT license.

  16. 62 remaining items

  17. cirqueit commented on Feb 21, 2016

    @cirqueit

    @carloscabanero I'm also very interested in a mosh shell

    currently using Prompt2 on my iPad Pro (@logancollins I'd also pay for an in-app upgrade)

  18. mojotx commented on Feb 22, 2016

    @mojotx
    Contributor

    +1...I'd also be interested in participating as a beta tester, @carloscabanero.

    Also, @davidjao, thanks for pointing out the independent implementation option. However, I cannot find any sort of detailed documentation for the State Synchronization Protocol (SSP). There's a brief overview in some of the promotional publications, but I haven't been able to find anything written in the same level of technical detail you find in a RFC.

    If a company DID do a "clean room" re-implementation of mosh, I think it would be best to work from standards documents, and NOT even look at the existing GPL implementation. SSH is described by multiple RFCs, and you do not need to download the OpenSSH code if you want to create your own closed-source SSH implementation.

    It's possible that the SSP documentation is out there, but I just haven't found it yet. The mosh research paper only gave an overview, and wasn't something you could use to create an independent implementation.

  19. arronmabrey commented on Feb 22, 2016

    @arronmabrey

    @carloscabanero add me to the list :-)

  20. cgull commented on Feb 24, 2016

    @cgull
    Member

    @mojotx, yes, SSP is an informal protocol and doesn't have any good specification written down. The best place to start is probably the protobuf definitions, actually. The protocol itself is fairly straightforward, once you understand that the differences between states are transported largely as character streams with ANSI escape sequences representing screen updates.

    It might be good for us to dual-license the protobuf definitions with a permissive license, since it's pretty much impossible to reimplement them in a way that doesn't substantially copy the originals.

    While I'm at it, I just noticed that the OpenSSL Software Foundation has a very permissive license from Phillip Rogaway for OCB; it looks like it's fine for commercial, closed-source apps. https://wiki.openssl.org/index.php/OCB

  21. carloscabanero commented on Apr 2, 2016

    @carloscabanero

    Hi! We are opening our alpha to more people, and would love to prioritize anyone from GH and the mailing list. So if any of you is still interested in Mosh for iOS, please go to https://github.com/blinksh/blink for more instructions, or just follow @BlinkShell and tweet us about your usage scenarios. Thanks for your help!

  22. rekendahl commented on Apr 3, 2016

    @rekendahl

    I've been lucky to be an early alpha tester. And the app has huge potential but still rough edges. It has best keyboard support of any iOS terminal and it's really fast. Also handles my remote TMUX and vim keyboard shortcut excellent. Better then any other app. There are some graphical and color issues, crashes etc to work out but this shows real potential to be a first page app for me!

    Carlos and team is on to something!

    Sent from my iPad

    On Apr 2, 2016, at 5:41 AM, carloscabanero [email protected] wrote:

    Hi! We are opening our alpha to more people, and would love to prioritize anyone from GH and the mailing list. So if any of you is still interested in Mosh for iOS, please go to https://github.com/blinksh/blink for more instructions, or just follow @BlinkShell and tweet us about your usage scenarios. Thanks for your help!

    —
    You are receiving this because you commented.
    Reply to this email directly or view it on GitHub

  23. binaryben commented on Jun 2, 2016

    @binaryben

    Hey @carloscabanero, I was wondering a few things if that's okay. What are you looking for in potential alpha testers for Blink out of interest - is there a "perfect" use case you are hoping will be tested? Also, what sort of price point are you hoping to launch Blink to the App Store at, and are there any approximate timeframes yet?

    Honestly, I would pay a bit for it at this point but interested to know if there were any current goals. Am very excited to be able to go completely laptopless without worrying about not having a traditional terminal on my device. Please keep up the good work :)

    @rekendahl Your comments are really exciting. I've been trying to use Vim with WebSSH on my iPad Pro. It's alright, but could be better and Mosh support would go a long way to helping that! I had been tossing up whether Prompt would be any better (had actually asked if it was possible for myself to try and code Mosh support for Prompt and then have it integrated with their app).

    Now I am left waiting - I hope it is worthwhile. I like your terminal setup btw (from screenshots in the issues repo for Blink). I think there is a lot to be said for using a terminal that is functional AND looks good. Hopefully colour and font support will be ready soon if they aren't already.

  24. carloscabanero commented on Jun 2, 2016

    @carloscabanero

    So at the start it was about testing our changes to Mosh and our terminal implementation, but that has already been done and it is stable. Next versions will be just about testing the experience, configuration, etc...

    I got extremely delayed due to changes in the ssh and ssl code. Great news is that ssh is now working too thanks to that. I'm currently working on opening the code to everyone under the GPL, hopefully done asap. If we have everyone's blessing then we will go straight to the AppStore.

    We can discuss about font and color in Blink GH, but Blink supports HTerm, same terminal Google is using in Chromium, so you have full font and color configuration over CSS.

  25. binaryben commented on Jun 3, 2016

    @binaryben

    All good to hear, will keep discussing in the blink repo as requested :)

  26. andrius commented on Jun 11, 2016

    @andrius

    I (and I believe many developers) would pay for IOS ssh client with following capabilities:

    • mosh support;
    • port forwarding (both local and dynamic) support;
    • good support for logitech and apple smart keyboard (currently pgup, pgdown, home and end won't work in many ssh clients)

    On my iPad Pro I am currently using a zoo: Prompt and Coda, Serverauditor (because of tunnels), and iSSH (yes, I still have it and I boutght mosh in past, it works).

    @carloscabanero: definitely I would be happy to participate in testing!

  27. NathanielCapital commented on Jun 15, 2016

    @NathanielCapital

    @andrius Yes, I am doing exactly the same thing. I also use Xcute, which good for quick peek for information. Unfortunately I no longer have the iSSH copy I bought :(, is there a way I can have copy somewhere and install it?( Bought it, but no longer available for download on ITunes)

  28. carloscabanero commented on Nov 1, 2016

    @carloscabanero

    Hope everyone is doing well, I just wanted to give a heads up that Blink was released a month ago and the next version is coming soon (already available for testers). I would be very grateful if you could update mosh.org with a link to our repository & to blink.sh.

    We have simplified compiling a lot so if you want to give it a try, head to the Blink Shell repo and make sure to let us know what you think. We already have a few contributors and any feedback / ideas / PRs you might have are very welcome :)

    Our Raw branch is still open for testing, for those of you who do not even want to touch Xcode even with a fork (I’m becoming one of those too). Tweet us @BlinkShell and we will send you a DM with more information.

    We ran a very cool video comparing Mosh and SSH. I had never seen Mosh echo in action in such an obvious way, and it is awesome! If you would like to use it on mosh.org, I can very easily remove the Blink part at the end ;)
    https://youtu.be/f_2SI-YxsaY

    Thanks!

  29. keithw commented on Nov 1, 2016

    @keithw
    Member

    Great! Can you please send a pull request to https://github.com/mobile-shell/moshweb for what you would like on the website?

  30. carloscabanero commented on Nov 9, 2016

    @carloscabanero

    Sorry Keith, didn't see that repo. Just did the PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions