ssh connection fails
-
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 22Have I missed something?
-
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 peercheck the log on the UBports device ::
journalctl | grep sshdIf 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 -
@haagch
I found a toggle in the UT tweak tools click to allow ssh access.
That seems to have done the trick. -
R RJDan has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login