UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    ssh into Oneplus 3T

    Support
    3
    4
    376
    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.
    • shapley
      shapley last edited by

      Hi,

      How do I get access to '/home/phablet' on my Oneplus3t device without 'adb' while in the process of setting up ssh-keygen? I am trying to follow the configuring 'ssh-keygen' but can not do the following on the link below:

      http://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html#configure-your-device

      I've manually copied my *.pub file into 'Documents' on the OP3 device but unable to get into 'ssh phablet@i.p.address' to do the following:

      mkdir /home/phablet/.ssh
      chmod 700 /home/phablet/.ssh
      cat /home/phablet/id_rsa.pub >> /home/phablet/.ssh/authorized_keys
      chmod 600 /home/phablet/.ssh/authorized_keys
      chown -R phablet.phablet /home/phablet/.ssh

      1 Reply Last reply Reply Quote 0
      • Ingo
        Ingo last edited by

        You could type those commands in the terminal app on the phone if you want to avoid adb.

        Personally I find adb (over USB) very convenient to do these things. Why don't/can't you do it?

        shapley 1 Reply Last reply Reply Quote 0
        • shapley
          shapley @Ingo last edited by

          Hi Ingo, Your right I prefer adb with a usb cable but as I understand I am unable to use adb on arm64?

          Lakotaubp 1 Reply Last reply Reply Quote 0
          • Lakotaubp
            Lakotaubp @shapley last edited by

            @shapley MTP is working now.

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