mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 16:30:11 -05:00
[no ci] debug prints
This commit is contained in:
parent
d88b1ae82e
commit
13fdf9b998
3
.github/actions/e2e_emergency_ssh/action.yml
vendored
3
.github/actions/e2e_emergency_ssh/action.yml
vendored
@ -37,10 +37,13 @@ runs:
|
|||||||
ProxyJump $lb
|
ProxyJump $lb
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat ssh_config
|
||||||
|
|
||||||
# generate and try keypair
|
# generate and try keypair
|
||||||
ssh-keygen -t ecdsa -q -N "" -f ./access-key
|
ssh-keygen -t ecdsa -q -N "" -f ./access-key
|
||||||
constellation ssh --debug --key ./access-key.pub
|
constellation ssh --debug --key ./access-key.pub
|
||||||
internalIPs="$(kubectl get nodes -o=jsonpath='{.items[*].status.addresses}' | jq -r '.[] | select(.type == "InternalIP") | .address')"
|
internalIPs="$(kubectl get nodes -o=jsonpath='{.items[*].status.addresses}' | jq -r '.[] | select(.type == "InternalIP") | .address')"
|
||||||
for ip in internalIPs; do
|
for ip in internalIPs; do
|
||||||
|
echo "Trying connection to $ip over $lb"
|
||||||
ssh -F ssh_config -o BatchMode=yes $ip true
|
ssh -F ssh_config -o BatchMode=yes $ip true
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user