[GH-ISSUE #5017] Netbird SSH do not work after client update to 0.61.0 #9744

Closed
opened 2026-08-05 01:23:19 -04:00 by saavagebueno · 7 comments
Owner

Originally created by @cryptolukas on GitHub (Jan 1, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5017

Describe the problem

I update on my Ubuntu 24.04 Server the netbird client from 0.60.9 to 0.61.0
Afterwards the connect via netbird ssh was not working

To Reproduce

Upgrade to version 0.61.0 and try netbird ssh
ssh server
SSH authentication required.
Please do the SSO login in your browser.
If your browser didn't open automatically, use this URL to log in:

https://sso.examp.ecom/device?code=XXXXXXX
Waiting for authentication...
SSH connection to NetBird server failed: SSH handshake: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Expected behavior
The ssh login is working as expected
A clear and concise description of what you expected to happen.

Are you using NetBird Cloud?
Self-hosted

NetBird version

netbird version

Is any other VPN software installed?

No

Debug output

To help us resolve the problem, please attach the following anonymized status output

N/A

Create and upload a debug bundle, and share the returned file key:

N/A

Uploaded files are automatically deleted after 30 days.

Alternatively, create the file only and attach it here manually:

N/A

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @cryptolukas on GitHub (Jan 1, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5017 **Describe the problem** I update on my Ubuntu 24.04 Server the netbird client from 0.60.9 to 0.61.0 Afterwards the connect via netbird ssh was not working **To Reproduce** Upgrade to version 0.61.0 and try netbird ssh ssh server SSH authentication required. Please do the SSO login in your browser. If your browser didn't open automatically, use this URL to log in: https://sso.examp.ecom/device?code=XXXXXXX Waiting for authentication... SSH connection to NetBird server failed: SSH handshake: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain **Expected behavior** The ssh login is working as expected A clear and concise description of what you expected to happen. **Are you using NetBird Cloud?** Self-hosted **NetBird version** `netbird version` **Is any other VPN software installed?** No **Debug output** To help us resolve the problem, please attach the following anonymized status output N/A Create and upload a debug bundle, and share the returned file key: N/A *Uploaded files are automatically deleted after 30 days.* Alternatively, create the file only and attach it here manually: N/A **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [ ] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [ ] Checked for newer NetBird versions - [ ] Searched for similar issues on GitHub (including closed ones) - [ ] Restarted the NetBird client - [ ] Disabled other VPN software - [ ] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:23:19 -04:00
Author
Owner

@cryptolukas commented on GitHub (Jan 1, 2026):

I don't know how to identifu the netbird version of the server yet.

<!-- gh-comment-id:3703790883 --> @cryptolukas commented on GitHub (Jan 1, 2026): I don't know how to identifu the netbird version of the server yet.
Author
Owner

@Raito00 commented on GitHub (Jan 1, 2026):

I check version like this command:

docker logs netbird-rr-management-1 2>&1 | grep 'management server version'

jost check docker name and change it ...

<!-- gh-comment-id:3704146177 --> @Raito00 commented on GitHub (Jan 1, 2026): I check version like this command: ``` docker logs netbird-rr-management-1 2>&1 | grep 'management server version' ``` jost check docker name and change it ...
Author
Owner

@CodingTil commented on GitHub (Jan 2, 2026):

We are experiencing the same issue.

Our management server is running v0.61.0, with the following patch applied on our side (see https://github.com/netbirdio/netbird/pull/4647):

git diff
diff --git a/management/server/idp/keycloak.go b/management/server/idp/keycloak.go
index c611317a..ac5d0104 100644
--- a/management/server/idp/keycloak.go
+++ b/management/server/idp/keycloak.go
@@ -63,7 +63,7 @@ func NewKeycloakManager(config KeycloakClientConfig, appMetrics telemetry.AppMet
        httpTransport.MaxIdleConns = 5

        httpClient := &http.Client{
-               Timeout:   10 * time.Second,
+               Timeout:   600 * time.Second,
                Transport: httpTransport,
        }
        helper := JsonParser{}

We are further self-hosting our IdP (KeyCloak), configured as described here: https://docs.netbird.io/selfhosted/identity-providers/keycloak

Everything works, except for this issue here.


Trying to ssh via netbird does open the browser window for us, asking us to "Grant Access to netbird-client". After approving by clicking on "Yes", we get the confirmation: "Device Login Successful".

However, the SSH command is stuck in "Waiting for authentication...".

<!-- gh-comment-id:3705594665 --> @CodingTil commented on GitHub (Jan 2, 2026): We are experiencing the same issue. Our management server is running v0.61.0, with the following patch applied on our side (see https://github.com/netbirdio/netbird/pull/4647): ``` git diff diff --git a/management/server/idp/keycloak.go b/management/server/idp/keycloak.go index c611317a..ac5d0104 100644 --- a/management/server/idp/keycloak.go +++ b/management/server/idp/keycloak.go @@ -63,7 +63,7 @@ func NewKeycloakManager(config KeycloakClientConfig, appMetrics telemetry.AppMet httpTransport.MaxIdleConns = 5 httpClient := &http.Client{ - Timeout: 10 * time.Second, + Timeout: 600 * time.Second, Transport: httpTransport, } helper := JsonParser{} ``` We are further self-hosting our IdP (KeyCloak), configured as described here: https://docs.netbird.io/selfhosted/identity-providers/keycloak Everything works, except for this issue here. --- Trying to ssh via netbird does open the browser window for us, asking us to "Grant Access to netbird-client". After approving by clicking on "Yes", we get the confirmation: "Device Login Successful". However, the SSH command is stuck in "Waiting for authentication...".
Author
Owner

@cryptolukas commented on GitHub (Jan 2, 2026):

It was my fault. Didn't read the upgrade docs properly

<!-- gh-comment-id:3705722899 --> @cryptolukas commented on GitHub (Jan 2, 2026): It was my fault. Didn't read the upgrade docs properly
Author
Owner

@florian-obradovic commented on GitHub (Jan 26, 2026):

@cryptolukas give me a hint please :)
Thanks

<!-- gh-comment-id:3800732572 --> @florian-obradovic commented on GitHub (Jan 26, 2026): @cryptolukas give me a hint please :) Thanks
Author
Owner

@cryptolukas commented on GitHub (Jan 26, 2026):

Use the latest client version ;)

<!-- gh-comment-id:3802114859 --> @cryptolukas commented on GitHub (Jan 26, 2026): Use the latest client version ;)
Author
Owner

@florian-obradovic commented on GitHub (Jan 27, 2026):

I am already on latest version, so must be a different issue

<!-- gh-comment-id:3803593781 --> @florian-obradovic commented on GitHub (Jan 27, 2026): I am already on latest version, so must be a different issue
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9744