Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
1–10 of 37 posts
Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#2Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#3Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#41) We soon discovered that using bash (and not sh that SSM signs you into) doesn’t format the logs correctly and makes them unreadable 2) Using SSH over SSM doesn’t log at all
Both of these problems are on AWS github but as always, they don’t respond.
Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#5One thing that I found annoying through the web interface was the lousy support of special characters. Every now and then either some character combination or a big wall of text would make the browser-based terminal almost useless. I have yet to make time to configure the cli access which I don't think will have these issues.
Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#6Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#7It has more or less the same benefits that SSM has, and you can use the same method with ProxyCommand to establish authentication before connecting. You can also chain it using ProxyJump to use a bastion host. Wrapped in a tool like aws-vault you can quite easily work with 2FA and such.
[0] https://aws.amazon.com/about-aws/whats-new/2019/06/introduci...
Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#8 gcloud compute ssh
GCP takes care of generating a key pair. The GCP linux images configure OpenSSH and PAM to check you have relevant IAM permissions. IAP [2] is used in place of a bastion if the instance doesn't have an external IP address.[1]: https://cloud.google.com/compute/docs/instances/managing-ins...
Re: Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
#9Seem likes an awfully laboured equivalent of GCP's OSLogin [1]. To SSH into an instance: gcloud compute ssh GCP takes care of generating a key pair. The GCP linux images configure OpenSSH and PAM to check you have relevant IAM permissions. IAP [2] is used in place of a bastion if the instance doesn't have an external IP address. [1]: https://cloud.google.com/compute/docs/instances/managing-ins... [2]: https://cloud.g…