gcloud compute config-s sh не выдает записей хоста - PullRequest
0 голосов
/ 06 февраля 2020

Я пытаюсь использовать gcloud compute config-s sh для настройки записей хоста в моем $ HOME / .ssh / config. Команда выполняется без ошибок, но когда я смотрю в свой каталог $ HOME / .ssh / config, она просто добавляет блок комментариев без записей хоста, например:

# Google Compute Engine Section
#
# The following has been auto-generated by "gcloud compute config-ssh"
# to make accessing your Google Compute Engine virtual machines easier.
#
# To remove this blob, run:
#
#   gcloud compute config-ssh --remove
#
# You can also manually remove this blob by deleting everything from
# here until the comment that contains the string "End of Google Compute
# Engine Section".
#
# You should not hand-edit this section, unless you are deleting it.
#
# End of Google Compute Engine Section

Когда я запускаю gcloud compute instances list I увидеть все мои экземпляры, так что я знаю, что я правильно настроил gcloud.

...