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

Sshd: Fail to parse sshd_config #673

Open
raphink opened this issue May 8, 2020 · 2 comments
Open

Sshd: Fail to parse sshd_config #673

raphink opened this issue May 8, 2020 · 2 comments

Comments

@raphink
Copy link
Member

raphink commented May 8, 2020

Match User git    # Apply the AuthorizedKeysCommands to the git user only
  AuthorizedKeysCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-keys-check git %u %k
  AuthorizedKeysCommandUser git
Match all    # End match, settings apply to all users again

See original issue at voxpupuli/puppet-augeasproviders_ssh#56

@raphink
Copy link
Member Author

raphink commented May 8, 2020

There seems to be two issues here:

  1. the eol-comment on the first line
  2. the Match all rule

@derekmpage
Copy link

derekmpage commented Jan 11, 2022

Same here. This means you are unable to use "Match all" in your sshd_config at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants