You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
Not quite sure why there is all that extra stuff added to install_configure_selinux.sh, it works just as well without it.
I would also just be doing a simple version check in install_configure_sshd.sh and based on the test, use either AuthorizedKeysCommandUser or AuthorizedKeysCommandRunAs directive.
if you like you can create a PR. But keep in mind that I expect that this project will be replaced by AWS SSM Session Manager in the near future. AWS is working on a very similar implementation using the AuthorizedKeysCommand
Metadata:
We have a legacy dependency on CentOS 6, so to make this system work under v6, the following changes are required:
install_configure_selinux.sh
script commented out (no NIS boolean in v6)sed -i'' 's/AuthorizedKeysCommandUser/AuthorizedKeysCommandRunAs/g' /etc/ssh/sshd_config
Tested, OK. Happy to submit a PR if this is of interest to anyone.
The text was updated successfully, but these errors were encountered: