Hi, I’m following the terraform boundary example in https://github.com/hashicorp/boundary-reference-architecture/tree/main/deployment/aws#deploy .
Logging in with the code below is successful.
BOUNDARY_ADDR='https://boundary-test-controller-<random_name>-<some sha>.elb.us-east-1.amazonaws.com:9200' \ boundary authenticate password \ -login-name=jim \ -password foofoofoo \ -auth-method-id=ampw_<some ID>
However, connecting the target instance with the code below is unsuccessful.
boundary connect ssh --username ubuntu -target-id ttcp_jDSpPLkudz
The target id above is from the target below.
The error I receive is unauthorized error.
email@example.com: Permission denied (publickey).
I followed hashicorp’s official example. Is there anything I should check to successfully authorize myself?