Preserve existing ssh config
This commit is contained in:
parent
017eb10e76
commit
8c51b47e85
|
@ -254,9 +254,8 @@ gcloud_PrepInstancesForSsh() {
|
|||
|
||||
gcloud compute ssh --zone "$zone" "$name" -- "
|
||||
set -x;
|
||||
rm -rf .ssh;
|
||||
mkdir -p .ssh;
|
||||
echo \"$(cat "$publicKey")\" > .ssh/authorized_keys;
|
||||
echo \"$(cat "$publicKey")\" >> .ssh/authorized_keys;
|
||||
echo \"
|
||||
Host *
|
||||
BatchMode yes
|
||||
|
|
Loading…
Reference in New Issue