- Newest
- Most votes
- Most comments
Unfortunately, AWS VPN Client doesn't have CLI options for direct connection and disconnection. You can leverage AWS Systems Manager Session Manager to SSH into EC2 instances securely without needing a VPN client. Alternatively, consider automating the VPN client
Thanks for the answer.
That's a shame, could be useful... but anyway I guess I'll just wrapped the code in a docker inside that env (I hoped to avoid it if possible).
Thanks again! Shahar
answered 3 years ago
I ran into the same limitation and built awsvpn, a macOS CLI for AWS Client VPN with SAML/SSO:
https://github.com/lucassarcanjo/aws-vpn-cli
It requires the official AWS VPN Client, macOS and still uses the browser when SAML login or MFA is required.
answered 2 months ago
Relevant content
asked a year ago
- AWS OFFICIALUpdated 3 years ago
