UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. JSBuch
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    JSBuch

    @JSBuch

    1
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    JSBuch Unfollow Follow

    Best posts made by JSBuch

    • RE: SSH to Pixel3a Focal

      Dear all.
      thanks a lot for the supporl.
      It was actually some wrong permissions for the folder .ssh/ and the file authorized_keys in combination with the lack of restarting the ssh-server. Sorry for that.

      Now it works. The solution is as shown in https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

      chmod 700 /home/phablet/.ssh
      chmod 600 /home/phablet/.ssh/authorized_keys
      chown -R phablet:phablet /home/phablet/.ssh

      and after this modification, stop and restart of the ssh-server
      sudo servcie ssh stop
      sudo servcie ssh start
      systemctl status ssh

      Thanks a lot
      Jörg

      posted in Support
      J
      JSBuch

    Latest posts made by JSBuch

    • RE: SSH to Pixel3a Focal

      @Keneda
      Yes you are right, pleae apologizy the misprint, it should be service ...

      Summarizing the procedure is as shown in https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html:

      chmod 700 /home/phablet/.ssh
      chmod 600 /home/phablet/.ssh/authorized_keys
      chown -R phablet:phablet /home/phablet/.ssh

      and after this modification, stop and restart of the ssh-server

      sudo service ssh stop
      sudo service ssh start
      systemctl status ssh

      posted in Support
      J
      JSBuch
    • RE: SSH to Pixel3a Focal

      Dear all.
      thanks a lot for the supporl.
      It was actually some wrong permissions for the folder .ssh/ and the file authorized_keys in combination with the lack of restarting the ssh-server. Sorry for that.

      Now it works. The solution is as shown in https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

      chmod 700 /home/phablet/.ssh
      chmod 600 /home/phablet/.ssh/authorized_keys
      chown -R phablet:phablet /home/phablet/.ssh

      and after this modification, stop and restart of the ssh-server
      sudo servcie ssh stop
      sudo servcie ssh start
      systemctl status ssh

      Thanks a lot
      Jörg

      posted in Support
      J
      JSBuch
    • SSH to Pixel3a Focal

      Dear all,
      I tried to connect to my Pixel3a via SSH

      I set up the mobile according to the the proposal in
      https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html#configure-your-device

      and I also tried
      https://forums.ubports.com/post/75754

      The SSH seems running on the mobile since
      systemctl status ssh.service
      says, that ssh is active.

      However the results follwong both proposals is the same when connecting from the PC to the mobile, since the result is always "Permission denied."

      Any suggetion, where I could look into?

      Mobile: PIXEL 3a Focal
      PC: Open Suse Tumbleweed.

      Thanks a lot for every hint.
      Best regards

      Jörg

      posted in Support
      J
      JSBuch