Allow use of bastion host

This commit is contained in:
Chris de Bruin
2023-01-27 10:07:24 +01:00
parent 2023c377ab
commit 1fef6ba505
3 changed files with 44 additions and 5 deletions

View File

@@ -68,10 +68,21 @@ registry:
### Using a different SSH user than root
The default SSH user is root, but you can change it using `ssh_user`:
The default SSH user is root, but you can change it using `ssh/user`:
```yaml
ssh_user: app
ssh:
user: app
```
### Using a bastion/proxy/jump SSH host
If you need to connect to server through a bastion host, you can use `ssh/proxy_host`:
```yaml
ssh:
proxy_host: 192.168.0.1
user_proxy_host: app # defaults to root
```
### Using env variables