Skip to content

strange ssh effects on sleep / screen lock #35

@ThomasWaldmann

Description

@ThomasWaldmann

I am trying 2.0.27 with ecdsa ssh key (see also #34). Was happy that it just worked on first try:

Nov  3 14:28:57 tux sshd[2338]: Accepted publickey for tw from 10.10.10.154 port 37713 ssh2: ECDSA SHA256:KGqgknI25/oAKCF01cp4sIswqIXmYRrQrmbOGie6z1I
Nov  3 14:28:57 tux sshd[2338]: pam_unix(sshd:session): session opened for user tw by (uid=0)
Nov  3 14:28:57 tux systemd-logind[774]: New session 953 of user tw.

Then phone went to sleep and later I tried again and it did not work any more:

Nov  3 14:42:24 tux sshd[2934]: error: Received disconnect from 10.10.10.154 port 37782:3: com.jcraft.jsch.JSchException: Auth fail [preauth]
Nov  3 14:42:24 tux sshd[2934]: Disconnected from authenticating user tw 10.10.10.154 port 37782 [preauth]
Nov  3 14:42:27 tux sshd[2936]: error: Received disconnect from 10.10.10.154 port 37783:3: com.jcraft.jsch.JSchException: Auth fail [preauth]
Nov  3 14:42:27 tux sshd[2936]: Disconnected from authenticating user tw 10.10.10.154 port 37783 [preauth]
...

If i force stop and restart XMouse app after that, it will be able to re-establish the connection.

Ubuntu 18.04 on host, Lineage OS 15.1 on phone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions