@@ -187,25 +187,14 @@ The configuration file is a JSON array of objects. Each object defines a tunnel.
187187- ** R (Remote)** : Forwards traffic from ** local → remote**
188188
189189### Example Topology Diagram
190- ``` mermaid
191- flowchart LR
192- A[Local Machine] -->|SSH Tunnel| J1[Jump Host 2]
193- J1 --> J2[Jump Host 1]
194- J2 --> S[Final SSH Server]
195- S --> M[MongoDB:27017]
196- ```
197-
190+ ![ ExampleTopologyDiagram] ( docs/images/example-topology-diagram.svg )
198191- ** A:** Your local machine
199- - ** J1, J2 :** Intermediate jump hosts
192+ - ** J2, J1 :** Intermediate jump hosts
200193- ** S:** Final SSH server
201194- ** M:** MongoDB service running on the remote host
202195
203196### Simple Tunnel Diagram (No Jump Hosts)
204- ``` mermaid
205- flowchart LR
206- L[Local Machine] -->|SSH Tunnel| F[Final Server]
207- F --> D[Service:27017]
208- ```
197+ ![ SimpleTunnelDiagram] ( docs/images/simple-tunnel-diagram.svg )
209198
210199- ** L:** Local machine
211200- ** F:** Final SSH server
@@ -217,12 +206,7 @@ flowchart LR
2172062 . ** Password authentication**
218207 - Uses ` password ` field directly.
219208
220- ``` mermaid
221- flowchart TB
222- LocalMachine --> SSHAuth[SSH Authentication]
223- SSHAuth -->|KEY| PrivateKey["Key + Passphrase"]
224- SSHAuth -->|PASS| Password["Password"]
225- ```
209+ ![ AuthenticationFlow] ( docs/images/authentication-flow.svg )
226210
227211## Usage Notes
228212- You can have multiple tunnels defined in the JSON array.
0 commit comments