[PR #361] [MERGED] NetBird SSH #12537

Closed
opened 2026-08-05 02:06:08 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/361
Author: @braginini
Created: 6/12/2022
Status: Merged
Merged: 6/23/2022
Merged by: @braginini

Base: mainHead: feature/ssh


📝 Commits (10+)

  • fbdbf9e Add SSH server
  • 39b222b Add SSH config to the Management gRPC protocol
  • f8fe1f5 Add SSH roundtrip
  • e7547d0 Generate SSH key on startup and pass to Management
  • e063086 Update SSH key on management
  • 6557a55 Add PTY to SSHServer
  • f507428 Cleanup SSH code a bit
  • ff5d961 Merge remote-tracking branch 'origin/main' into feature/ssh
  • 4bdeceb Add SSH cmd
  • bf69b1c Add SSH cmd port flag

📊 Changes

32 files changed (+1702 additions, -349 deletions)

View changed files

📝 client/cmd/root.go (+1 -0)
client/cmd/ssh.go (+137 -0)
📝 client/internal/config.go (+21 -7)
📝 client/internal/connect.go (+10 -3)
📝 client/internal/engine.go (+87 -7)
📝 client/internal/engine_test.go (+141 -3)
📝 client/internal/login.go (+11 -7)
client/ssh/client.go (+114 -0)
client/ssh/server.go (+183 -0)
client/ssh/server_mock.go (+44 -0)
client/ssh/server_test.go (+121 -0)
client/ssh/util.go (+86 -0)
client/ssh/window_unix.go (+14 -0)
client/ssh/window_windows.go (+9 -0)
📝 go.mod (+5 -3)
📝 go.sum (+12 -0)
📝 management/client/client.go (+2 -2)
📝 management/client/client_test.go (+5 -5)
📝 management/client/grpc.go (+12 -4)
📝 management/client/mock.go (+6 -6)

...and 12 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/361 **Author:** [@braginini](https://github.com/braginini) **Created:** 6/12/2022 **Status:** ✅ Merged **Merged:** 6/23/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `feature/ssh` --- ### 📝 Commits (10+) - [`fbdbf9e`](https://github.com/netbirdio/netbird/commit/fbdbf9e3ce6e32f8a7138eff928fc73c6b1d55b1) Add SSH server - [`39b222b`](https://github.com/netbirdio/netbird/commit/39b222ba30c2015de77f07bc07e8c8bed0b306d0) Add SSH config to the Management gRPC protocol - [`f8fe1f5`](https://github.com/netbirdio/netbird/commit/f8fe1f50fa7528ae281fc8decf9de700040ce811) Add SSH roundtrip - [`e7547d0`](https://github.com/netbirdio/netbird/commit/e7547d085eaed3c3d8d901a25122c4f275b3c3fc) Generate SSH key on startup and pass to Management - [`e063086`](https://github.com/netbirdio/netbird/commit/e06308667ea6d397d6d0ecdc607fc21e0ec6e779) Update SSH key on management - [`6557a55`](https://github.com/netbirdio/netbird/commit/6557a559188fa991aed395892e92843ae842fbda) Add PTY to SSHServer - [`f507428`](https://github.com/netbirdio/netbird/commit/f5074283f97cef9874eaa2dd6512eea15b827adf) Cleanup SSH code a bit - [`ff5d961`](https://github.com/netbirdio/netbird/commit/ff5d961269e5036f3911b2cf2139fa6732b9a7d6) Merge remote-tracking branch 'origin/main' into feature/ssh - [`4bdeceb`](https://github.com/netbirdio/netbird/commit/4bdeceb1133babf27638ad293d6a20ec64273481) Add SSH cmd - [`bf69b1c`](https://github.com/netbirdio/netbird/commit/bf69b1c61ad9c09caaa45e1b8028ff2b71eb341f) Add SSH cmd port flag ### 📊 Changes **32 files changed** (+1702 additions, -349 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/root.go` (+1 -0) ➕ `client/cmd/ssh.go` (+137 -0) 📝 `client/internal/config.go` (+21 -7) 📝 `client/internal/connect.go` (+10 -3) 📝 `client/internal/engine.go` (+87 -7) 📝 `client/internal/engine_test.go` (+141 -3) 📝 `client/internal/login.go` (+11 -7) ➕ `client/ssh/client.go` (+114 -0) ➕ `client/ssh/server.go` (+183 -0) ➕ `client/ssh/server_mock.go` (+44 -0) ➕ `client/ssh/server_test.go` (+121 -0) ➕ `client/ssh/util.go` (+86 -0) ➕ `client/ssh/window_unix.go` (+14 -0) ➕ `client/ssh/window_windows.go` (+9 -0) 📝 `go.mod` (+5 -3) 📝 `go.sum` (+12 -0) 📝 `management/client/client.go` (+2 -2) 📝 `management/client/client_test.go` (+5 -5) 📝 `management/client/grpc.go` (+12 -4) 📝 `management/client/mock.go` (+6 -6) _...and 12 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:08 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12537