Skip to content

Key based authentication does not work in WSL2 #47

@Jimmi61

Description

@Jimmi61

I recently changed to key authentication to the client, works fine for ssh connection pbut the plugin fails for timeout I believe.

In the local logs I find only a message that saus that the operation was Deactivated successfully. Other messages are repeating continuosly, not related to sshfs mount:

INFO Daemon: connecting to Windows Agent
DEBUG Updated systemd status to "Connecting"
WARNING Daemon: could not connect to Windows Agent: could not get address: could not read agent port file "/mnt/c/Users/XXXXXXXX/.ubuntupro/.address": open /mnt/c/Users/XXXXXXXX/.ubuntupro/.address: no such file or directory

I do not think they are related to this problem.

In the client the message appearing is:
sshd[1284]: Connection closed by authenticating user XX XXXXXXXXX port XXXXXXX [preauth]

The same configuration works perfect on a Linux PC.

Any suggestion how to debug it?

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