Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh_source_restriction is no longer available #123

Open
DangerDawson opened this issue Jul 3, 2020 · 4 comments
Open

ssh_source_restriction is no longer available #123

DangerDawson opened this issue Jul 3, 2020 · 4 comments
Labels
bug 🐛 An issue with the system

Comments

@DangerDawson
Copy link

The following change removed ssh_source_restriction fe6d0d7#diff-7a370d8342e7203b805911c92454f0f4L494
but it is still present in the docs, and is also a variable that can be passed in, is this intentional?

I have checked a recent environment using the changes that have been made, and it no longer locks ssh down to the said source, but is now available to the world.

@DangerDawson DangerDawson added the bug 🐛 An issue with the system label Jul 3, 2020
@osterman
Copy link
Member

osterman commented Jul 3, 2020

It was probably not intentional. Can you submit a PR to fix?

@DangerDawson
Copy link
Author

Just opened a PR: #124

@lukas085
Copy link

If somebody will bring that back?

@nathant727
Copy link

nathant727 commented Mar 23, 2022

I figured out a work around for this issue - just set the additional_settings like this:

  additional_settings = [{
    namespace = "aws:autoscaling:launchconfiguration"
    name      = "SSHSourceRestriction"
    value     = "tcp,22,22,123.45.67.89/24"
  }]

Where 123.45.67.89/24 is the CIDR block from which you would like to limit SSH access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

4 participants