Restrict ssh access to memebers of group ssh_login

This commit is contained in:
m8in committed 2026-03-03 22:19:27 +01:00
1 parent 88acbffbd0
commit abcb324283
4 files changed
+61 -3

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ function cloneOrPull {
&& return 0
! [ -d "${_FOLDER}/.git" ] \
&& git clone "${_REPOSITORY}" "${_FOLDER}" &> /dev/null \
&& GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=accept-new" git clone "${_REPOSITORY}" "${_FOLDER}" &> /dev/null \
&& return 0
echo "FAIL: The local repository is not updatable: ("$(readlink -f ${0})")" >&2