Merge pull request #176 from dilpreet92/enable_ssh_over_proxy_command

Enable ssh over proxy command
This commit is contained in:
David Heinemeier Hansson
2023-04-10 14:41:45 +02:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -218,6 +218,13 @@ ssh:
proxy: "app@192.168.0.1"
```
Also if you need specific proxy command to connect to the server:
```yaml
ssh:
proxy_command: aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p' --region=us-east-1 ## ssh via aws ssm
```
### Using env variables
You can inject env variables into the app containers using `env`: