We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As a note, I had to restart the docker container after I copied my key. I'm using the latest tag on MacOS.
The text was updated successfully, but these errors were encountered:
Enhanced README.md (related to #4). Changed mantainer name and shell …
873dae4
…message
You have reason, I forgot to mention it. I just update README.md with this information, very useful. Thanks a lot rglas!
Sorry, something went wrong.
You can prevent restarts by creating a small shell script, e.g.:
#!/bin/sh cat /git-server/keys/*
Add the file to the container at a location like /usr/local/bin/keys.sh
/usr/local/bin/keys.sh
Add the following options to sshd_config:
sshd_config
AuthorizedKeysCommand /usr/local/bin/keys.sh AuthorizedKeysCommandUser keyuser
You may want to create a user specifically for this command as is recommended in the sshd_config man page
Some additional scripting and/or configuration may be required to limit the key script to only work for the git user.
git
No branches or pull requests
As a note, I had to restart the docker container after I copied my key. I'm using the latest tag on MacOS.
The text was updated successfully, but these errors were encountered: