Merge "Use StrictHostKeyChecking=no in enable-ssh-admin.sh"
This commit is contained in:
commit
ce4ac4d2c4
@ -57,7 +57,7 @@ for HOST in $OVERCLOUD_HOSTS; do
|
|||||||
echo "Inserting TripleO short term key for $HOST"
|
echo "Inserting TripleO short term key for $HOST"
|
||||||
# prepending an extra newline so that if authorized_keys didn't
|
# prepending an extra newline so that if authorized_keys didn't
|
||||||
# end with a newline previously, we don't end up garbling it up
|
# end with a newline previously, we don't end up garbling it up
|
||||||
ssh -i "$OVERCLOUD_SSH_KEY" -l "$OVERCLOUD_SSH_USER" "$HOST" "echo -e '\n$SHORT_TERM_KEY_PUBLIC_CONTENT' >> \$HOME/.ssh/authorized_keys"
|
ssh -o StrictHostKeyChecking=no -i "$OVERCLOUD_SSH_KEY" -l "$OVERCLOUD_SSH_USER" "$HOST" "echo -e '\n$SHORT_TERM_KEY_PUBLIC_CONTENT' >> \$HOME/.ssh/authorized_keys"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Starting ssh admin enablement workflow"
|
echo "Starting ssh admin enablement workflow"
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Use StrictHostKeyChecking=no to inject the temporary ssh key in
|
||||||
|
enable-ssh-admin.sh. The user provides the list of hosts for ssh, so we can
|
||||||
|
safely assume that they intend to ssh to those hosts. Also, for the ovb
|
||||||
|
case the hosts will have new host ssh keys which have not yet been
|
||||||
|
accepted.
|
Loading…
Reference in New Issue
Block a user