Specify public key

pull/758/head
redsoxfantom 2024-01-29 10:09:53 -05:00
parent a53802953e
commit a2a49adf14
1 changed files with 9 additions and 9 deletions

View File

@ -424,9 +424,9 @@ done
``` ```
for instance in worker-0 worker-1 worker-2; do for instance in worker-0 worker-1 worker-2; do
IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv) IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv)
scp ca.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ca.pem azureuser@${IP}:/home/azureuser
scp ${instance}-key.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ${instance}-key.pem azureuser@${IP}:/home/azureuser
scp ${instance}.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ${instance}.pem azureuser@${IP}:/home/azureuser
done done
``` ```
@ -444,12 +444,12 @@ done
``` ```
for instance in controller-0 controller-1 controller-2; do for instance in controller-0 controller-1 controller-2; do
IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv) IP=$(az vm show -d --name ${instance} --query "publicIps" -o tsv)
scp ca.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ca.pem azureuser@${IP}:/home/azureuser
scp ca-key.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway ca-key.pem azureuser@${IP}:/home/azureuser
scp kubernetes-key.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway kubernetes-key.pem azureuser@${IP}:/home/azureuser
scp kubernetes.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway kubernetes.pem azureuser@${IP}:/home/azureuser
scp service-account-key.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway service-account-key.pem azureuser@${IP}:/home/azureuser
scp service-account.pem azureuser@${IP}:/home/azureuser scp -i $HOME/.ssh/k8sthehardway service-account.pem azureuser@${IP}:/home/azureuser
done done
``` ```