ssh in focal with xiaomi mi a2
-
I can't connect via ssh from a Xiaomi A2 with focal. I have the historical BQE4.5 krillin (with xenial) for years working with ssh but I can't get it with the Xiaomi A2.
is SSH working on focal?
where can I look for information to fix it?Thanks.
I have checked:
https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.htmlhttps://forums.ubports.com/topic/8631/howto-autostart-ssh
Device: Xiaomi Mi A2 (jasmine-sprout)
Channel:devel
Release:457error output:
● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/ssh.service.d └─lxc-android-config.conf, usb-moded-ssh.conf Active: failed (Result: exit-code) since Sun 2023-08-13 11:31:20 CEST; 3min 43s ago Docs: man:sshd(8) man:sshd_config(5) Process: 1864 ExecStartPre=/usr/bin/ssh-generate-hostkeys (code=exited, status=0/SUCCESS) Process: 1872 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255/EXCEPTION) ago 13 11:31:20 u-phablet-a2 sshd[1872]: /etc/ssh/sshd_config line 16: Deprecated option UsePrivilegeSeparation ago 13 11:31:20 u-phablet-a2 sshd[1872]: /etc/ssh/sshd_config line 19: Deprecated option KeyRegenerationInterval ago 13 11:31:20 u-phablet-a2 sshd[1872]: /etc/ssh/sshd_config line 20: Deprecated option ServerKeyBits ago 13 11:31:20 u-phablet-a2 sshd[1872]: /etc/ssh/sshd_config line 38: Deprecated option RhostsRSAAuthentication ago 13 11:31:20 u-phablet-a2 sshd[1872]: /etc/ssh/sshd_config line 91: unsupported option "yes". ago 13 11:31:20 u-phablet-a2 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 5. ago 13 11:31:20 u-phablet-a2 systemd[1]: Stopped OpenBSD Secure Shell server. ago 13 11:31:20 u-phablet-a2 systemd[1]: ssh.service: Start request repeated too quickly. ago 13 11:31:20 u-phablet-a2 systemd[1]: ssh.service: Failed with result 'exit-code'. ago 13 11:31:20 u-phablet-a2 systemd[1]: Failed to start OpenBSD Secure Shell server. -
Xiaomi Mi A2 - Focal OTA 2 - Stable Channel
SSH works fine, I don't know if it helps ... try disabling usb-moded-ssh service, on my device is disabled.
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