Skip to content

Commit

Permalink
[TMP] try to fix ordered list issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dameyerdave committed Nov 14, 2024
1 parent bb5a90e commit 3d2e954
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/docs/docs/leomed_hacks.md
Original file line number Diff line number Diff line change
@@ -67,19 +67,22 @@ then
fi
```

{ start=2 }
2. `[labtop]` Create a reverse ssh tunnel:

```bash
ssh -4 -N -T -R 2222:localhost:2222 <leomed-vm>
```

{ start=3 }
3. `[labtop]` Copy over the private key of the tunnel (created by the script in 1.):

```bash
cd ~
scp .ssh/tunnel <leomed-vm>:.ssh/tunnel
```

{ start=4 }
4. `[leomed-vm]` Configure `.ssh/config` entry for `github.com`:

```bash
@@ -98,12 +101,14 @@ Host github.com
:wq
```

{ start=5 }
5. `[labtop]` Make sure you have loaded your github ssh key:

```bash
ssh-add .ssh/<github-key>
```

{ start=6 }
6. `[labtop]` Make sure you have configured `ForwardAgent` for your ssh connection to the `leomed-vm`:

```bash
@@ -115,4 +120,5 @@ Host leomed-vm
...
```

{ start=7 }
7. `[labtop]` Now you can `ssh` to the `leomed-vm` and do what ever you want with git(hub).

0 comments on commit 3d2e954

Please sign in to comment.