1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Try with "max-tunnel-duration". Because If you receive an AccessDeniedException error, and the maxTunnelDuration condition is specified in the IAM policy, be sure to specify the --max-tunnel-duration parameter when connecting to an instance.
$ aws ec2-instance-connect ssh --instance-id i-017dea0ab67a46427 --connection-type eice --max-tunnel-duration 3600
Relevant content
- AWS OFFICIALUpdated 2 months ago
