V8.13.400.2025.11.08
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m14s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-11-10 08:30:38 +01:00
parent 469ef4f996
commit 767217c16d

View File

@@ -53,7 +53,7 @@ jobs:
run: | run: |
set +x set +x
set -euo pipefail set -euo pipefail
rm -rf ~/.ssh && mkdir -m700 ~/.ssh rm -rf ~/.ssh && mkdir -m0700 ~/.ssh
### Private Key ### Private Key
echo "${{ secrets.SSH_MSW_DEPLOY_CORESECRET_DEV }}" >| ~/.ssh/id_ed25519 echo "${{ secrets.SSH_MSW_DEPLOY_CORESECRET_DEV }}" >| ~/.ssh/id_ed25519
@@ -66,10 +66,18 @@ jobs:
### Generate SSH Config for git.coresecret.dev Custom-Port ### Generate SSH Config for git.coresecret.dev Custom-Port
cat <<EOF >| ~/.ssh/config cat <<EOF >| ~/.ssh/config
Host git.coresecret.dev Host git.coresecret.dev
BatchMode yes
ConnectTimeout 5
ControlMaster auto
ControlPath ~/.ssh/cm-%r@%h:%p
ControlPersist 5m
HostName git.coresecret.dev HostName git.coresecret.dev
Port 42842
IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_ed25519
Port 42842
ServerAliveCountMax 3
ServerAliveInterval 10
StrictHostKeyChecking yes StrictHostKeyChecking yes
User git
UserKnownHostsFile ~/.ssh/known_hosts UserKnownHostsFile ~/.ssh/known_hosts
EOF EOF
chmod 0600 ~/.ssh/config chmod 0600 ~/.ssh/config