gcloud app instance ssh命令禁用SSH主机密钥检查

时间:2018-08-13 12:37:02

标签: ssh gcloud

假设我有一些要在我的gcloud应用实例上执行的命令/脚本:

gcloud app instances ssh --quiet \
       --version=${version} --service=${service} ${instance_id} --container=gaeapp -- \
       bash commands.sh

如何为gcloud app instances ssh禁用SSH主机密钥检查?因为当前我有以下结果:

Executing command in container blah-blah (version=20180813t144010, service=default)
...
Sending public key to instance [apps/blah-blah].
Waiting for operation [apps/blah-blah] to complete...done.                                   
The authenticity of host 'apps/blah-blah (123.123.123.123)' can't be established.
ECDSA key fingerprint is SHA256:....
Are you sure you want to continue connecting (yes/no)?

1 个答案:

答案 0 :(得分:0)

目前尚无此选项,但是您可以在public issue tracker上进行功能请求。