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

    (S)FTP-Connections / Daily Drive UT

    Scheduled Pinned Locked Moved General
    10 Posts 3 Posters 425 Views 2 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.
      • G Offline
        GeraltvonNVIDIA
        last edited by

        Hi!

        I am a new User to the UT-World, but have a little experience in Linux and Linux on Mobile-Devices (have several devices which run pmOS and wrote about Steps to help others make it run on them https://wiki.postmarketos.org/wiki/User:GeraltvonNVIDIA ).

        Anyway: I want to daily drive my FP4 with some Linux OS and my best bet, because of working GPS and Camera is currently UT. So i will give it a try.

        After tinkering for the last weekend i stumbled upon the lack of SFTP Support? When i open the "Network"-Tab in my File-Explorer, there is no option to select some sort of Protocol or IP. Nor do it recognize any of my devices in Network - and there are many ^^'

        I stumbled upon this app https://open-store.io/app/ftpmanager.costa which seemed to work in the past, but is abandoned. Is there any option to get SFTP to work, or get that old app to run?

        arubislanderA 1 Reply Last reply Reply Quote 0
        • arubislanderA Online
          arubislander @GeraltvonNVIDIA
          last edited by

          @GeraltvonNVIDIA

          sFTP uses SSH as the protocol. SSH is fully supported on UT. There is currently no GUI to facilitate this on the device. But if you are comfortable with the commandline you can connect from your phone to any ssh server out of the box.
          SSH'ing into your device requires some setup first.
          You would need to enable and start the SSH server, and you would need to get your public key copied over to your phone via some other means first.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (24.04 preview)
          JingPad (24.04 preview)
          PinePhone OG (20.04)
          Meizu Pro 5 (16.04 DEV)

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            GeraltvonNVIDIA @arubislander
            last edited by

            Hi @arubislander and thanks for your fast reply! Okay nice, i didnt think the of the other way around, but actually yes of course πŸ˜„

            I think i can work with that for now, thanks!

            So there is currently no sort of (s)ftp-client for this directly on the phone - besides the command line.

            And why doesnt the "Network"-Tab in my File-Explorer show any of my devices? Do i have to activate something for this to work?

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Online
              arubislander @GeraltvonNVIDIA
              last edited by arubislander

              Hi @GeraltvonNVIDIA. Welcome to the community

              @GeraltvonNVIDIA said in (S)FTP-Connections / Daily Drive UT:

              So there is currently no sort of (s)ftp-client for this directly on the phone - besides the command line.

              Not that I am aware of, no. There are several synching mechanisms available though. I myself use the Syncthing app. You could set it up to sync one folder on your phone to another folder on your computer. Then anytime you needed to transfer something over either way you would just copy / move it into that folder. At the moment you would have to start the Syncthing app on the phone to trigger a sync. But there might be work underway to change that.
              If you happen to have a Nextcloud server there are also a few Nextcloud clients in the OpenStore.

              And why doesn't the "Network"-Tab in my File-Explorer show any of my devices? Do i have to activate something for this to work?

              That tab has not worked since Canonical times. It might have been fixed at some point in some non-merged branch some time ago. But evidenced by my vague wording, this is not something that I am sure of. Someone would need to take a look at this. Might be as simple as missing packages in the rootfs.

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (24.04 preview)
              JingPad (24.04 preview)
              PinePhone OG (20.04)
              Meizu Pro 5 (16.04 DEV)

              ikozI 1 Reply Last reply Reply Quote 0
              • G Offline
                GeraltvonNVIDIA
                last edited by

                I see. Many thanks for your help! I think we can close this thread now πŸ™‚

                1 Reply Last reply Reply Quote 0
                • ikozI Offline
                  ikoz @arubislander
                  last edited by

                  @arubislander For me it used to work with samba, I could access my NAS and read/write files. Haven't checked after the focal update though.

                  May the source be with you

                  G arubislanderA 2 Replies Last reply Reply Quote 0
                  • G Offline
                    GeraltvonNVIDIA @ikoz
                    last edited by

                    Hi @ikoz , thanks for your reply! SMB would be indeed a nice alternative πŸ€” . And would even be more attractive, when it will show up in the File-Explorer on focal.

                    1 Reply Last reply Reply Quote -1
                    • arubislanderA Online
                      arubislander @ikoz
                      last edited by

                      @ikoz You are correct. I assumed OP was expecting to see their SMB shares on the network tab. I should have mentioned that the network tab only ever was able to autodiscover SMB / CIFS shares. But I no longer have any those on my network, so I have no idea if it works in Focal or not.

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      Happily running Ubuntu Touch
                      Google Pixel 3a (24.04 preview)
                      JingPad (24.04 preview)
                      PinePhone OG (20.04)
                      Meizu Pro 5 (16.04 DEV)

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        GeraltvonNVIDIA @arubislander
                        last edited by

                        @arubislander Both of your answers are important to me. At first i only searched for an easy option to transfer files to and from my phone. The First Thing that comes to my mind is (S)FTP, when it comes to this topic. So i searched for exact that.

                        For SMB you have to configure more, but if it pops up in the File-Explorer after that, it is a even better solution.

                        Full Story is: I have a KeePass in my local-network which i want easy access to.On Android there is an App in which you can Sync your Keepass-Database via SFTP. But a mount of an SMB-Network-Drive would be closer to a "normal" Workflow on the System, i think.

                        In the Open-Store there is also a KeePass but it doesnt support SFTP right out of the Box - but shows the File-Explorer. So if i could mount via SMB i had my easy access.

                        Sorry for misleading Topic-Name.

                        arubislanderA 1 Reply Last reply Reply Quote 0
                        • arubislanderA Online
                          arubislander @GeraltvonNVIDIA
                          last edited by

                          @GeraltvonNVIDIA Ah, the classic x y problem... lol

                          The question is: How can I access my Keepass database on my phone?

                          You are correct in that there are multiple answers. I would suggest trying Syncthing if the SMB option does not pan out.

                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                          Happily running Ubuntu Touch
                          Google Pixel 3a (24.04 preview)
                          JingPad (24.04 preview)
                          PinePhone OG (20.04)
                          Meizu Pro 5 (16.04 DEV)

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