mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 15:24:58 -05:00
feat: use SSH host certificates (#3786)
This commit is contained in:
parent
95f17a6d06
commit
7ea5c41f9b
34 changed files with 706 additions and 117 deletions
10
.github/actions/e2e_emergency_ssh/action.yml
vendored
10
.github/actions/e2e_emergency_ssh/action.yml
vendored
|
|
@ -23,19 +23,21 @@ runs:
|
|||
lb="$(terraform output -raw loadbalancer_address)"
|
||||
popd
|
||||
|
||||
lb_ip="$(gethostip $lb | awk '{print $2}')"
|
||||
echo "Resolved ip of load balancer: $lb_ip"
|
||||
|
||||
# write ssh config
|
||||
cat > ssh_config <<EOF
|
||||
Host $lb
|
||||
Host $lb_ip
|
||||
ProxyJump none
|
||||
|
||||
Host *
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile=/dev/null
|
||||
IdentityFile ./access-key
|
||||
PreferredAuthentications publickey
|
||||
CertificateFile=constellation_cert.pub
|
||||
UserKnownHostsFile=./known_hosts
|
||||
User root
|
||||
ProxyJump $lb
|
||||
ProxyJump $lb_ip
|
||||
EOF
|
||||
|
||||
for i in {1..26}; do
|
||||
|
|
|
|||
6
.github/actions/e2e_test/action.yml
vendored
6
.github/actions/e2e_test/action.yml
vendored
|
|
@ -150,7 +150,9 @@ runs:
|
|||
- name: Setup bazel
|
||||
uses: ./.github/actions/setup_bazel_nix
|
||||
with:
|
||||
nixTools: terraform
|
||||
nixTools: |
|
||||
terraform
|
||||
syslinux
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: ./.github/actions/container_registry_login
|
||||
|
|
@ -452,7 +454,7 @@ runs:
|
|||
s3AccessKey: ${{ inputs.s3AccessKey }}
|
||||
s3SecretKey: ${{ inputs.s3SecretKey }}
|
||||
githubToken: ${{ inputs.githubToken }}
|
||||
|
||||
|
||||
- name: Run emergency ssh test
|
||||
if: inputs.test == 'emergency ssh'
|
||||
uses: ./.github/actions/e2e_emergency_ssh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue