When connecting to server instances on AWS, it is recommended to go through a bastion host instead of a direct connection. However, provisioning a bastion host just for that purpose can be frustrating, which is why AWS Systems Manager’s Session Manager provides tunneling to more comfortably connect to your servers. gossm is an open-source CLI tool that makes the use of the Session Manager even more convenient. gossm lets you leverage the security provided by Session Manager and IAM policies from your terminal using tools such as ssh
and scp
. It also has some capabilities that the AWS CLI is missing, including server discovery and SSH integration.