Skip to content

Commit

Permalink
Add ca authority prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Fox <[email protected]>
  • Loading branch information
kfox1111 committed Sep 23, 2024
1 parent 1c50c1b commit 69429b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/spiffe-step-ssh/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ sudo systemctl start spiffe-step-ssh
#FIXME wait for spiffe-step-ssh
sleep 10

kubectl get configmap spiffe-step-ssh-certs -o 'go-template={{ index .data "ssh_host_ca_key.pub" }}' | sed '/^$/d' | sudo -u spiffe-test dd of=/home/spiffe-test/.ssh/known_hosts
kubectl get configmap spiffe-step-ssh-certs -o 'go-template={{ index .data "ssh_host_ca_key.pub" }}' | sed '/^$/d; s/^/@cert-authority *.production.other /' | sudo -u spiffe-test dd of=/home/spiffe-test/.ssh/known_hosts
sudo -u spiffe-test /home/spiffe-test/.ssh/known_hosts

sudo -u spiffe-test ssh -T -n -i /home/spiffe-test/.ssh/id_ed25519.pub [email protected] hostname

0 comments on commit 69429b6

Please sign in to comment.