简体   繁体   English

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

[英]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

VCS 连接错误

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

Also UP-9164 :还有UP-9164

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.

相关问题 将 AI Platform Notebooks 连接到 Google Cloud Source Repositories - Connecting AI Platform Notebooks to Google Cloud Source Repositories 尝试使用 SSH 身份验证从 Google Cloud Source Repositories 克隆 repo - Trying to clone repo from Google Cloud Source Repositories using SSH authentication 为什么我的 SSH 密钥不能用于 Google Cloud Source 存储库? - Why doesn't my SSH key work with Google Cloud Source repositories? 重命名Google Cloud Source存储库中的Git存储库 - Rename Git repository in Google Cloud Source Repositories 无法将提交推送到 Google Cloud Source Repositories - Unable to push the commits to Google Cloud Source Repositories 在 Google Cloud Source Repositories 上存储大文件 - Storing large files on Google Cloud Source Repositories `ssh:连接到主机 ssh.dev.azure.com 端口 22:连接超时`错误 - `ssh: connect to host ssh.dev.azure.com port 22: Connection timed out` error 使用作为模块源的bitbucket存储库处理ssh / https auth - Handling ssh/https auth with bitbucket repositories used as a module source Posh-Git 在尝试从原点拉出时抛出 ssh 错误 - Posh-Git throwing ssh error while trying to pull from origin ssh-add创建连接到代理时出错:连接超时(Windows 10) - ssh-add creates Error connecting to agent: Connection timed out (Windows 10)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM