Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git JetBrains Upsource在连接GCP云源存储库URL | SSH连接时抛出未知主机错误_Git_Google Cloud Platform_Ssh_Upsource_Jetbrains Hub - Fatal编程技术网

Git JetBrains Upsource在连接GCP云源存储库URL | SSH连接时抛出未知主机错误

Git JetBrains Upsource在连接GCP云源存储库URL | SSH连接时抛出未知主机错误,git,google-cloud-platform,ssh,upsource,jetbrains-hub,Git,Google Cloud Platform,Ssh,Upsource,Jetbrains Hub,我正在尝试连接到google云源存储库,以便在windows中升级Jet Brains。 我面临未知主机错误 我按照下面的gcloud文档进行ssh连接 我也尝试过配置ssh_config以指向IdentityFile中的键 Host repo1 HostName source.developers.google.com Port 2022 user test.b@gmail.com IdentityFile /Users/balusur/.ssh/key1 不知道我错过了

我正在尝试连接到google云源存储库,以便在windows中升级Jet Brains。
我面临未知主机错误

我按照下面的gcloud文档进行ssh连接

我也尝试过配置ssh_config以指向IdentityFile中的键

Host repo1
  HostName source.developers.google.com
  Port 2022
  user test.b@gmail.com
  IdentityFile /Users/balusur/.ssh/key1

不知道我错过了什么。
任何人,请就此向我提供建议?

“未知主机”表示远程服务器的指纹未在
%USERPROFILE%\.ssh\known\u hosts中正确注册

首先尝试在命令行a
ssh repo1
,只是检查它是否要求您将其添加到
known_hosts

然后从JetBrain本身再试一次

正如秘书长在以下文件中指出的:

Jetbrains Upsource可能不支持GCP云源Repo:

此外:

根据文档页面,可以在不使用SDK的情况下生成访问repo的静态凭据,这意味着我们不必做任何特殊的事情来支持它们


谢谢,@VonC。我检查了已知的主机,我可以看到相同的条目。我尝试使用git clone ssh进行克隆,它可以正常工作,但JetBrains Up源代码的情况并非如此。任何建议都将是错误的helpful@DebuggerJetBrains Upsource是否在您的计算机上使用相同的本地用户帐户启动?是的,Git和Upsource都使用相同的帐户启动。我希望它与GCP帐户无关,对吗?因为GCP帐户与外包机器不同locally@Debugger在启动Jetbrains Upsource之前,您能否向您的环境中添加“export GIT\u SSH='SSH-tv”?这样,我们将在JetBrains日志中看到它在哪里寻找它的密钥。