-
Notifications
You must be signed in to change notification settings - Fork 299
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
Uncomment config for openssh.banner? #20
Comments
Unable to get openssh.banner state to work as well. The Banner config is not uncommented and set to the correct value, even if I add
|
Tried to reproduce this but it works on my debian system:
pillar openssh_banner.sls
salt top.sls:
and it works
|
👍 Thanks, I've moved on from this but glad someone checked it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I may be missing something, but it seems that the banner setting in sshd_config on Ubuntu is not being uncommented and set correctly when the openssh.banner state is run. The banner_src gets copied to /etc/ssh/banner correctly, but I don't see an option to enable/uncomment the banner config line or set the banner_src in the pillar.example file that's provided.
I'm trying with a simple highstate here (UseDNS: 'no' works):
Running openssh.banner placed a banner file at /etc/ssh/banner, so I manually changed:
to
# /etc/ssh/sshd_config ... Banner /etc/ssh/banner
and everything worked. Is there another option that needs to be set? I thought I would be able to override that setting somehow in pillar, but I can't figure it out.
Here's the output of state.highstate:
Thanks, I appreciate you guys posting this formula.
The text was updated successfully, but these errors were encountered: