[GH-ISSUE #4981] Confusion: can you use ssh instead of netbird ssh to connect to a peer? #10492

Open
opened 2026-08-05 01:26:06 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @KaminariOS on GitHub (Dec 21, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4981

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.

Originally created by @KaminariOS on GitHub (Dec 21, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4981 `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`.
Author
Owner

@coderabbitai[bot] commented on GitHub (Dec 21, 2025):

📝 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

👤 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!

<!-- gh-comment-id:3679697445 --> @coderabbitai[bot] commented on GitHub (Dec 21, 2025): <!-- This is an auto-generated issue plan by CodeRabbit --> ### 📝 CodeRabbit Plan Mode Generate an implementation plan and prompts that you can use with your favorite coding agent. - [ ] <!-- {"checkboxId": "8d4f2b9c-3e1a-4f7c-a9b2-d5e8f1c4a7b9"} --> Create Plan <details> <summary>Examples</summary> - [Example 1](https://github.com/coderabbitai/git-worktree-runner/issues/29#issuecomment-3589134556) - [Example 2](https://github.com/coderabbitai/git-worktree-runner/issues/12#issuecomment-3606665167) </details> --- <details> <summary><b>🔗 Similar Issues</b></summary> **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 </details> <details> <summary><b>👤 Suggested Assignees</b></summary> - [raaron773](https://github.com/raaron773) - [fcayre](https://github.com/fcayre) - [virse](https://github.com/virse) - [netandreus](https://github.com/netandreus) - [SylvainSesterce](https://github.com/SylvainSesterce) </details> --- <details> <summary> 🧪 Issue enrichment is currently in open beta.</summary> 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`: ```yaml issue_enrichment: auto_enrich: enabled: false ``` </details> 💬 Have feedback or questions? Drop into our [discord](https://discord.gg/coderabbit) or [schedule a call](https://calendly.com/parth-coderabbit/issues-feedback)!
Author
Owner

@shuuri-labs commented on GitHub (Dec 23, 2025):

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.

<!-- gh-comment-id:3688021314 --> @shuuri-labs commented on GitHub (Dec 23, 2025): 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](https://docs.netbird.io/manage/peers/ssh).
Author
Owner

@KaminariOS commented on GitHub (Dec 23, 2025):

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

<!-- gh-comment-id:3688054698 --> @KaminariOS commented on GitHub (Dec 23, 2025): 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
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10492