diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 972fd6f..73f6177 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: set up 'ssh localhost' run: | .github/workflows/setup-ssh-localhost.sh - ssh localhost + ssh -v localhost - name: Install dependencies (including dev dependencies at frozen version) # I'm using pip install -e to make sure that the coverage properly traces the runs # also of the concurrent tests (maybe we can achieve this differently) diff --git a/.github/workflows/setup-ssh-localhost.sh b/.github/workflows/setup-ssh-localhost.sh index df70959..ab3347a 100755 --- a/.github/workflows/setup-ssh-localhost.sh +++ b/.github/workflows/setup-ssh-localhost.sh @@ -4,3 +4,6 @@ set -ev ssh-keygen -q -t rsa -b 4096 -N "" -f "${HOME}/.ssh/id_rsa" ssh-keygen -y -f "${HOME}/.ssh/id_rsa" >> "${HOME}/.ssh/authorized_keys" ssh-keyscan -H localhost >> "${HOME}/.ssh/known_hosts" + +chmod 700 "${HOME}/.ssh" +chmod 600 "${HOME}/.ssh"/*