aws / aws/session-manager-plugin
How to config local address bind?
Open
- Dominant language
- Go
- Stars
- 320
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
I started a session with something like this:
```bash
aws ssm start-session \
--target instance-id \
--document-name AWS-StartPortForwardingSessionToRemoteHost \
--parameters '{"host":["mydb.example.us-east-2.rds.amazonaws.com"],"portNumber":["3306"], "localPortNumber":["3306"]}'
```
And the tcp connection only binds to `127.0.0.1` instead of `0.0.0.0`.
```bash
sh-4.2# netstat -nltp | grep session
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 10/session-manager-
```
What I'm trying to achieve is to connect this session from another docker container.
Contributor guide
Assessment
This issue has not been assessed yet.