You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using netopeer2 (release version 2.1.71) and it works well with Linux account on my VM.
And these are the version information.
netopeer2: version 2.1.71
libnetconf2: version 2.1.37
libyang: version 2.1.111
sysrepo: version 2.2.105
I'm tried to add a local user (testuser) on the netconf-server instead of creating Linux account as below.
But, I can't connect to the server with the local user and I can see the messages on netopeer2-server as below.
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 127.0.0.1:41182.
[INF]: SR: Session 39 (user "root", CID 1) created.
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "password".
[INF]: LN: User "testuser" not found locally.
[INF]: LN: Failed user "testuser" authentication attempt (#1).
[ERR]: LN: Communication SSH socket unexpectedly closed.
It seems that the cause of connection failure is that netopeer2-server could not find the local user ("testuser").
Could you check if the configuration is correct?
Is there any additional steps to enable the local use if the configuration is correct?
Best regards,
Dokeun
The text was updated successfully, but these errors were encountered:
In the version of libnetconf2 you are using, the users for SSH authentication could not be configured directly but were read from the system instead so your <users> configuration subtree is completely ignored. But the user configuration is supported in the libnetconf2 versions 3.x so if you update, it will work as expected.
Hi,
I'm using netopeer2 (release version 2.1.71) and it works well with Linux account on my VM.
And these are the version information.
netopeer2: version 2.1.71
libnetconf2: version 2.1.37
libyang: version 2.1.111
sysrepo: version 2.2.105
I'm tried to add a local user (testuser) on the netconf-server instead of creating Linux account as below.

But, I can't connect to the server with the local user and I can see the messages on netopeer2-server as below.
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 127.0.0.1:41182.
[INF]: SR: Session 39 (user "root", CID 1) created.
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "password".
[INF]: LN: User "testuser" not found locally.
[INF]: LN: Failed user "testuser" authentication attempt (#1).
[ERR]: LN: Communication SSH socket unexpectedly closed.
It seems that the cause of connection failure is that netopeer2-server could not find the local user ("testuser").
Could you check if the configuration is correct?
Is there any additional steps to enable the local use if the configuration is correct?
Best regards,
Dokeun
The text was updated successfully, but these errors were encountered: