[英]JetBrains Upsource throwing unknown host error while connecting GCP cloud source repositories URL | SSH connection
I'm trying to connect to google cloud Cloud source repositories to Jet Brains upsource in windows.我正在尝试将谷歌云云源存储库连接到 windows 中的 Jet Brains upsource。
I'm facing an unknown host error.我面临一个未知的主机错误。
I followed the gcloud documentation below for ssh connection我按照下面的 gcloud 文档进行 ssh 连接
https://cloud.google.com/source-repositories/docs/authentication#:~:text=Cloud%20Source%20Repositories%20lets%20you,public%20key%20with%20Google%20Cloud . https://cloud.google.com/source-repositories/docs/authentication#:~:text=Cloud%20Source%20Repositories%20lets%20you,public%20key%20with%20Google%20Cloud 。
I have tried configuring the ssh_config also for pointing the keys in IdentityFile我也尝试配置 ssh_config 来指向 IdentityFile 中的键
Host repo1
HostName source.developers.google.com
Port 2022
user test.b@gmail.com
IdentityFile /Users/balusur/.ssh/key1
Not sure what I'm missing.不知道我错过了什么。
Anyone, please advise me on this?任何人,请告诉我这个?
"Unknown host" means the fingerprint of the remote server is not properly registered in %USERPROFILE%\.ssh\known_hosts
“未知主机”表示远程服务器的指纹未在
%USERPROFILE%\.ssh\known_hosts
中正确注册
Try first in command line a ssh repo1
, just to check if it asks you to add it to known_hosts
.首先在命令行中尝试
ssh repo1
,只是为了检查它是否要求您将其添加到known_hosts
。
Then try again from JetBrain itself.然后从 JetBrain 本身重试。
As noted by the OP debugger in the comments :正如评论中的OP 调试器所指出的:
Jetbrains Upsource might not support GCP cloud source Repo: issue
UP-10376
.Jetbrains Upsource 可能不支持 GCP 云源 Repo:问题
UP-10376
。
According to the documentation page, it is possible to generate static credentials for accessing the repo without using the SDK, which means we don't have to do anything special to support them.
根据文档页面,可以在不使用 SDK 的情况下生成用于访问存储库的 static 凭据,这意味着我们不必做任何特别的事情来支持它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.