netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Confusion: can you use `ssh` instead of `netbird ssh` to connect to a peer?

Open KaminariOS opened this issue 2 months ago • 3 comments

netbird ssh works now but I need to auth by web page every time. Is it possible to auth once only?

Plain ssh always prompts password even though I have added the ssh public key to the server. Even if I enter the correct password, ssh says permissioned denied.

KaminariOS avatar Dec 21 '25 23:12 KaminariOS

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • [ ] Create Plan
Examples

🔗 Similar Issues

Possible Duplicates

  • ISSUE-4845

Related Issues

  • https://github.com/netbirdio/netbird/issues/3828
  • https://github.com/netbirdio/netbird/issues/4954
  • https://github.com/netbirdio/netbird/issues/4951
  • https://github.com/netbirdio/netbird/issues/3821
  • https://github.com/netbirdio/netbird/issues/4919
  • https://github.com/netbirdio/netbird/issues/4845
  • https://github.com/netbirdio/netbird/issues/4813
  • https://github.com/netbirdio/netbird/issues/4965
👤 Suggested Assignees

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord or schedule a call!

coderabbitai[bot] avatar Dec 21 '25 23:12 coderabbitai[bot]

Yes, as of v0.60.0 NetBird SS allows you to omit the netbird keyword and just connect with ssh. Are you trying to connect to the target machine with the NetBird IP or hostname? And adjust the TTL of your login token by running netbird up with the --ssh-jwt-cache-ttl <seconds> flag.

NetBird SSH is covered pretty extensively in our docs.

shuuri-labs avatar Dec 23 '25 21:12 shuuri-labs

I ssh with the netbird IP but it always prompts for password (I have set up my public key on the remote host) and gives me permission denied

KaminariOS avatar Dec 23 '25 21:12 KaminariOS