Netbird SSH authentication failure #1892

Closed
opened 2025-11-20 06:08:42 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @mrb3n813 on GitHub (May 15, 2025).

I am attempting to use the built-in netbird SSH but receive this error when trying to connect to a peer:

Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer
You can verify the connection by running:

 netbird status

Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

I allowed SSH for the peer in the management console then did: netbird up --allow-server-ssh on the peer

I am using the latest Netbird self-hosted version, set up using the one-liner quick start command.

I have not been able to find any similar issues. Is there a configuration step I am missing with the self-hosted version of Netbird?

Originally created by @mrb3n813 on GitHub (May 15, 2025). I am attempting to use the built-in netbird SSH but receive this error when trying to connect to a peer: ``` Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer You can verify the connection by running: netbird status Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain ``` I allowed SSH for the peer in the management console then did: `netbird up --allow-server-ssh` on the peer I am using the latest Netbird self-hosted version, set up using the one-liner quick start command. I have not been able to find any similar issues. Is there a configuration step I am missing with the self-hosted version of Netbird?
saavagebueno added the triage-needed label 2025-11-20 06:08:42 -05:00
Author
Owner

@chrisblech commented on GitHub (Sep 20, 2025):

Since upgrade netbird client on one of my workstations, I am facing the same issue.

Could you please explain why it was closed without comment, or what can I do to debug this?

@chrisblech commented on GitHub (Sep 20, 2025): Since upgrade netbird client on one of my workstations, I am facing the same issue. Could you please explain why it was closed without comment, or what can I do to debug this?
Author
Owner

@clarkmcc commented on GitHub (Oct 7, 2025):

I am also getting this error. Both peers are on v0.59.3.

sudo netbird ssh 68e5865f74c49e0146048ab1
Password:
Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer
You can verify the connection by running:

 netbird status

Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

When I run status

netbird status -d
Peers detail:
 68e5865f74c49e0146048ab1.netbird.selfhosted:
  NetBird IP: 100.102.23.24
  Public key: ZrcQmtRcOZBVu4LP0NSZ/vKGSvnynuj9BiS+OO7B6QU=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/prflx
  ICE candidate endpoints (Local/Remote): 192.168.0.200:51820/192.168.0.20:44078
  Relay server address: rel://netbird-3.printtrackerpro.com:33080
  Last connection update: 2 minutes, 15 seconds ago
  Last WireGuard handshake: 2 minutes, 16 seconds ago
  Transfer status (received/sent) 48.1 KiB/60.2 KiB
  Quantum resistance: false
  Networks: -
  Latency: 6.521083ms
@clarkmcc commented on GitHub (Oct 7, 2025): I am also getting this error. Both peers are on v0.59.3. ``` sudo netbird ssh 68e5865f74c49e0146048ab1 Password: Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer You can verify the connection by running: netbird status Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain ``` When I run status ``` netbird status -d Peers detail: 68e5865f74c49e0146048ab1.netbird.selfhosted: NetBird IP: 100.102.23.24 Public key: ZrcQmtRcOZBVu4LP0NSZ/vKGSvnynuj9BiS+OO7B6QU= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/prflx ICE candidate endpoints (Local/Remote): 192.168.0.200:51820/192.168.0.20:44078 Relay server address: rel://netbird-3.printtrackerpro.com:33080 Last connection update: 2 minutes, 15 seconds ago Last WireGuard handshake: 2 minutes, 16 seconds ago Transfer status (received/sent) 48.1 KiB/60.2 KiB Quantum resistance: false Networks: - Latency: 6.521083ms ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1892