From df049f0bde850447555a7c84cb44bdda592aa2fc Mon Sep 17 00:00:00 2001 From: Chris Reed Date: Sat, 18 Jan 2020 20:51:12 -0500 Subject: [PATCH] Update 04-certificate-authority.md Having ~/ after ${instance}: would return pscp: remote filespec ~/: not a directory error. Removing the ~/ section resolves the issue. --- docs/04-certificate-authority.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/04-certificate-authority.md b/docs/04-certificate-authority.md index 1510993..d51b03e 100644 --- a/docs/04-certificate-authority.md +++ b/docs/04-certificate-authority.md @@ -396,7 +396,7 @@ Copy the appropriate certificates and private keys to each worker instance: ``` for instance in worker-0 worker-1 worker-2; do - gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem ${instance}:~/ + gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem ${instance}: done ``` @@ -405,7 +405,7 @@ Copy the appropriate certificates and private keys to each controller instance: ``` for instance in controller-0 controller-1 controller-2; do gcloud compute scp ca.pem ca-key.pem kubernetes-key.pem kubernetes.pem \ - service-account-key.pem service-account.pem ${instance}:~/ + service-account-key.pem service-account.pem ${instance}: done ```