I'm trying to connect to google cloud Cloud source repositories to Jet Brains upsource in windows.
I'm facing an unknown host error.

I followed the gcloud documentation below for ssh connection

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

Host repo1
  HostName source.developers.google.com
  Port 2022
  user [email protected]
  IdentityFile /Users/balusur/.ssh/key1

VCS connection error

Not sure what I'm missing.
Anyone, please advise me on this?

1

There are 1 answers

7
VonC On

"Unknown host" means the fingerprint of the remote server is not properly registered in %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.
Then try again from JetBrain itself.

As noted by the OP debugger in the comments:

Jetbrains Upsource might not support GCP cloud source Repo: issue UP-10376.

Also 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.