You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the default configuration, GitProxy intercepts the push and _blocks_ it. To enable code pushing to your fork via GitProxy, add your repository URL into the GitProxy config file (`proxy.config.json`). For more information, refer to [our documentation](https://git-proxy.finos.org).
Copy file name to clipboardExpand all lines: docs/SSH_ARCHITECTURE.md
+13-77Lines changed: 13 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
# SSH Proxy Architecture
2
2
3
-
Complete documentation of the SSH proxy architecture and operation for Git.
3
+
Internal architecture and technical implementation details of the SSH proxy for Git.
4
4
5
-
### Main Components
5
+
**For user setup instructions**, see [SSH_SETUP.md](SSH_SETUP.md)
6
+
7
+
---
8
+
9
+
## Main Components
6
10
7
11
```
8
12
┌─────────────┐ ┌──────────────────┐ ┌──────────┐
@@ -22,14 +26,19 @@ Complete documentation of the SSH proxy architecture and operation for Git.
22
26
23
27
The **SSH host key** is the proxy server's cryptographic identity. It identifies the proxy to clients and prevents man-in-the-middle attacks.
24
28
25
-
**Auto-generated**: On first startup, git-proxy generates an Ed25519 host key stored in `.ssh/host_key` and `.ssh/host_key.pub`.
29
+
**Auto-generated**: On first startup, git-proxy generates an Ed25519 host key:
30
+
31
+
- Private key: `.ssh/proxy_host_key`
32
+
- Public key: `.ssh/proxy_host_key.pub`
33
+
34
+
These paths are relative to the directory where git-proxy is running (the `WorkingDirectory` in systemd or the container's working directory in Docker).
26
35
27
36
**Important**: The host key is NOT used for authenticating to GitHub/GitLab. Agent forwarding handles remote authentication using the client's keys.
28
37
29
38
**First connection warning**:
30
39
31
40
```
32
-
The authenticity of host '[localhost]:2222' can't be established.
41
+
The authenticity of host '[git-proxy.example.com]:2222' can't be established.
33
42
ED25519 key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
34
43
Are you sure you want to continue connecting (yes/no)?
35
44
```
@@ -38,79 +47,6 @@ This is normal! If it appears on subsequent connections, it could indicate the p
**Custom Error Messages**: Administrators can customize the agent forwarding error message via `ssh.agentForwardingErrorMessage` in the proxy configuration.
111
-
112
-
---
113
-
114
50
## SSH Agent Forwarding
115
51
116
52
SSH agent forwarding allows the proxy to use the client's SSH keys **without ever receiving them**. The private key remains on the client's computer.
0 commit comments