sym CLI has native support for using your escalated privileges to SSH directly into an instance, without any additional authentication. You can use the hostname or IP address of an instance, or just use the Instance ID (e.g.
You need to SSH into a
prod EC2 instance with ID
i-123456789ascd. Your organization wants to carefully manage that access so there is an audit trail, and access requests can be efficiently approved or denied. So you'll use Sym to request access and then SSH into the instance:
- Make sure you've installed Sym and logged in. For this guide, we'll assume you now see a Sym resource called
prodwhen you list resources.
- Request Access to the
prodresource and wait for it to be approved.
- Use the
Remember, you can also use the
SYM_RESOURCEenvironment variable to make the
sshcommand's interface more familiar:
SYM_RESOURCE=prod sym ssh 220.127.116.11
The user for the SSH session is configured by your organization, and currently cannot be changed when running
Updated 18 days ago