forked from Deuxfleurs/nixcfg
Changement du guide onboarding avec une config ssh aux petits oignons
This commit is contained in:
parent
ab481c5e70
commit
572822093c
1 changed files with 20 additions and 6 deletions
|
@ -17,12 +17,26 @@ Basically:
|
|||
Edit your `~/.ssh/config` file with content such as the following:
|
||||
|
||||
```
|
||||
Host dahlia
|
||||
HostName dahlia.machine.deuxfleurs.fr
|
||||
LocalForward 14646 127.0.0.1:4646
|
||||
LocalForward 8501 127.0.0.1:8501
|
||||
LocalForward 1389 bottin.service.prod.consul:389
|
||||
LocalForward 5432 psql-proxy.service.prod.consul:5432
|
||||
# Deuxfleurs prod
|
||||
Host abricot ananas concombre celeri courgette df-ykl df-ymf df-ymk
|
||||
HostName %h.machine.deuxfleurs.fr
|
||||
IdentityFile ~/.ssh/deuxfleurs_ed25519
|
||||
User adrien
|
||||
LocalForward 14646 127.0.0.1:4646
|
||||
LocalForward 8501 127.0.0.1:8501
|
||||
LocalForward 1389 bottin.service.prod.consul:389
|
||||
LocalForward 5432 psql-proxy.service.prod.consul:5432
|
||||
|
||||
# Deuxfleurs staging
|
||||
Host piranha df-pw5 # et autres
|
||||
HostName %h.machine.deuxfleurs.fr
|
||||
IdentityFile ~/.ssh/deuxfleurs_ed25519
|
||||
User adrien
|
||||
LocalForward 14646 127.0.0.1:4646
|
||||
LocalForward 8501 127.0.0.1:8501
|
||||
LocalForward 1389 bottin.service.prod.consul:389
|
||||
LocalForward 5432 psql-proxy.service.prod.consul:5432
|
||||
|
||||
```
|
||||
|
||||
Then run the TLS proxy and leave it running:
|
||||
|
|
Loading…
Reference in a new issue