UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    how do I install openssh-server?

    Scheduled Pinned Locked Moved Support
    14 Posts 6 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        Eric @AppLee
        last edited by

        @AppLee ok, im trying to set this up using the terminal interface on the phone,
        and yes, I do want to learn to use adb, but i havent learned how to use it yet.

        on the terminal of the phone typing sudo android-gadget-service enable ssh
        yields command not found

        AppLeeA G 2 Replies Last reply Reply Quote 1
        • AppLeeA Online
          AppLee @Eric
          last edited by

          @Eric
          No adb tools on the PinePhone.
          And you have to use ssh keys to access the phone.

          You'll have to create the authorized_keys file in .ssh folder on the pinephone and export your public key there...

          1 Reply Last reply Reply Quote 0
          • E Offline
            Eric
            last edited by Eric

            adb: error: failed to get feature set: no devices/emulators found
            $adb devices
            (blank)
            not sure what to do about it.
            on ubuntu touch, on the pinephone, in the system settings> about there is no listing of developer mode. so I dont know how to enable it.

            is there a command line way to enable developer mode?

            1 Reply Last reply Reply Quote 0
            • E Offline
              Eric
              last edited by Eric

              here is my about screen, no developer mode, cant scroll down any further:

              dobeyD 1 Reply Last reply Reply Quote 0
              • dobeyD Offline
                dobey @Eric
                last edited by

                @Eric You probably don't want to post your IMEI, WiFI MAC, etc… on-line, btw.

                As for adb it doesn't exist on the pine phone, because it's not an android based device.

                As for openssh-server it is already installeld, however it is not connected to developer mode. It does need to be started manually currently though, by running sudo start ssh on the device.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Eric
                  last edited by

                  IDK, I have very finite time to work on these things. I followed the tutorial. installed the keys, and now Im getting no route to host. I did learn to use jumpstart which was nice. I've no idea if i can or cannot use adb with the pinephone, and Im quiet frustrated. the firewall ufw is inactive. I can ping the device, at 5000ms & 0% packet loss.

                  KenedaK 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Eric
                    last edited by

                    Well, I took the phone in the house, and started downloading debian, saying to my self i cant believe i couldn't get this to go, but aw well I'll give it one more go before wiping it out. And it works. FFS. problem solved I guess.

                    1 Reply Last reply Reply Quote 0
                    • KenedaK Offline
                      Keneda @Eric
                      last edited by

                      @Eric said in how do I install openssh-server?:

                      I've no idea if i can or cannot use adb with the pinephone, and Im quiet frustrated.

                      As already said, you can't use ADB with pinephone.
                      ADB is for Android Debug Bridge and is only available on android devices or UBport ported on android based devices.

                      Pinephone is pure GNU/Linux, not any android component on it, so no ADB on it, period.

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                      🇲🇫🇬🇧

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eric @Keneda
                        last edited by

                        @Keneda Thank you for the clear answer.

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gibbon @Eric
                          last edited by

                          @Eric this worked for my Nexus 7 LTE tablet, thanks!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post