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

    ssh connection fails

    Scheduled Pinned Locked Moved Unsolved Support
    2 Posts 2 Posters 64 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.
      • R Offline
        RJDan
        last edited by

        Re: ssh to pixel 3a - recv - from CB(2) ERROR:108

        I have successfully connected to my phone (FP5) via adb. I followed the ubports guide to setting up ssh and everything looks in place. When I try to connect I get the error below:

        kex_exchange_identification: read: Connection reset by peer
        Connection reset by 192.168.10.109 port 22
        

        Have I missed something?

        1 Reply Last reply Reply Quote 0
        • H Offline
          haagch
          last edited by

          That reminds me that I wanted to make a MR for this: https://gitlab.com/ubports/docs/docs.ubports.com/-/merge_requests/659

          i.e.:

          If connecting fails with the message ::

          kex_exchange_identification: read: Connection reset by peer
          

          check the log on the UBports device ::

          journalctl | grep sshd
          

          If you see a message about missing hostkeys such as ::

          sshd: no hostkeys available -- exiting.
          

          You need to generate host keys with the following command ::

          sudo ssh-keygen -A
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post