News for hackers. Stuff that matters.
Re:LazySSH – A jump-host SSH server that starts machines on-... by mdaniel on Friday November 13, 2020 @03:35PM (#25087147)
I've gotten a lot of mileage out of Sigil (https://github.com/danmx/sigil#readme ) which supports starting sessions via Name tag, instance-id, or private-dns-name in order to save one the need to use awscli in a lot of cases; it also supports the handy `sigil ls` to show the connected instances, since trying to start an SSM connection with an instance whose agent is offline produces a dumb error message with start-session

---

as an aside: `function name()` is redundant; the `function name {` syntax is a bashism, `name() {` is the posix syntax

and you may find `aws ec2 wait instance-running` handy instead of the sleep: https://docs.aws.amazon.com/cli/latest/reference/ec2/wait/in...

There are no comments on this comment yet.