Use single string-based proxy declaration

This commit is contained in:
David Heinemeier Hansson
2023-01-31 13:59:19 +01:00
committed by Chris de Bruin
parent 1fef6ba505
commit 71681cb8be
3 changed files with 24 additions and 24 deletions

View File

@@ -75,14 +75,20 @@ ssh:
user: app
```
### Using a bastion/proxy/jump SSH host
### Using a proxy SSH host
If you need to connect to server through a bastion host, you can use `ssh/proxy_host`:
If you need to connect to server through a proxy host, you can use `ssh/proxy`:
```yaml
ssh:
proxy_host: 192.168.0.1
user_proxy_host: app # defaults to root
proxy: "192.168.0.1" # defaults to root as the user
```
Or with specific user:
```yaml
ssh:
proxy: "app@192.168.0.1"
```
### Using env variables